CSS named colour
Chartreuse
#7fff00
A CSS named colour: chartreuse is valid anywhere a colour is expected.
- RGB
- rgb(127 255 0)
- HSL
- 90°, 100%, 50%
- OKLCh
- 89.0% 0.265 136.0
Chartreuse in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #7fff00 | |
|---|---|---|
| RGB | rgb(127 255 0) | |
| RGB legacy | rgb(127, 255, 0) | |
| RGB percent | rgb(49.8% 100% 0%) | |
| HSL | hsl(90.1 100% 50%) | |
| HSL legacy | hsl(90.1, 100%, 50%) | |
| HSV / HSB | hsv(90.1, 100%, 100%) | |
| HWB | hwb(90.1 0% 0%) | |
| Nearest name | chartreuse | |
| CMYK | cmyk(50.2%, 0%, 100%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(89.026% 0.2648 136.007)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(89.026% -0.19051 0.18392) | |
| CIE LCh | lch(90.05% 103.983 126.249) | |
| CIE Lab | lab(90.05% -61.485 83.857) | |
| Display P3 | color(display-p3 0.6279 0.9884 0.3056) | |
| Rec. 2020 | color(rec2020 0.6776 0.9668 0.2754) | |
| srgb-linear | color(srgb-linear 0.2122 1 0)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.4451 0.7603 0.1233) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.498, 1.0, 0.0)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.212, 1.0, 0.0)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.498, 1.0, 0.0, 1.0) | |
| GLSL vec4 — linear | vec4(0.212, 1.0, 0.0, 1.0) | |
| GLSL ivec3 | ivec3(127, 255, 0) | |
| HLSL float3 — sRGB | float3(0.498, 1.0, 0.0) | |
| HLSL float3 — linear | float3(0.212, 1.0, 0.0) | |
| HLSL float4 — sRGB | float4(0.498, 1.0, 0.0, 1.0) | |
| HLSL half4 — sRGB | half4(0.498, 1.0, 0.0, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.498, 1.0, 0.0) | |
| WGSL vec4f — sRGB | vec4f(0.498, 1.0, 0.0, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.212, 1.0, 0.0) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.498f, 1.0f, 0.0f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(127, 255, 0, 255) | |
| Unreal FLinearColor | FLinearColor(0.2122f, 1.0f, 0.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(127, 255, 0, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.498, 1, 0, 1) | |
| Flutter Color | Color(0xFF7FFF00)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(127, 255, 0) | |
| SwiftUI Color | Color(red: 0.498, green: 1, blue: 0) | |
| UIKit UIColor | UIColor(red: 0.498, green: 1, blue: 0, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x7FFF00 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF7FFF00 | |
| Array 0–1 | [0.498, 1, 0] | |
| Array 0–255 | [127, 255, 0] | |
| Decimal integer | 8388352 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Chartreuse on white | 1.30:1 | Fail | Lc 14 | Not usable for text |
| Chartreuse on black | 16.21:1 | AAA | Lc 90 | Body text, 18px and up |
Chartreuse text on a white background
Chartreuse text on a black background
White text on Chartreuse
Black text on Chartreuse
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#dcffc8
- 100#baff95
- 200#94fc57
- 300#75e61c
- 400#54c800
- 500#42a600
- 600#338800
- 700#256d00
- 800#1a5700
- 900#104500
- 950#032800
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#98ff5c
- Tint 2#afff86
- Tint 3#c4ffa7
- Tint 4#d9ffc6
- Tint 5#ecffe3
- Shade 1#62c800
- Shade 2#479400
- Shade 3#2d6300
- Shade 4#163600
- Shade 5#030f00
Colours that work with Chartreuse
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #f8c4ff
- #bbdeff
- #ffc6c9
- #eee100
- #00ffbb
Closest CSS names
chartreuseexact matchlawngreenΔEok 0.009greenyellowΔEok 0.047limeΔEok 0.050springgreenΔEok 0.073mediumspringgreenΔEok 0.105