#255312#255312
#255312 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.107 H 138.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #255312 |
|---|---|
| RGB | rgb(37, 83, 18) |
| HSL | hsl(102, 64%, 20%) |
| HSV | hsv(102, 78%, 33%) |
| CMYK | cmyk(55.4%, 0%, 78.3%, 67.5%) |
| CIE-LAB | lab(30.93, -28.89, 31.51) |
| CIE-LCH | lch(30.93, 42.75, 132.51°) |
| OKLab | oklab(39.5% -0.0798 0.0713) |
| OKLCH | oklch(39.5% 0.107 138.2) |
| XYZ | xyz(3.9652, 6.6232, 1.6416) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.02
Forest Green
#2D5A27
ΔE00 3.89
Navy Green
#35530A
ΔE00 3.91
Deep Green
#02590F
ΔE00 4.00
Bottle Green
#044A05
ΔE00 4.03
Darkgreen (survey)
#054907
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255312 #401253
analogous
#455312 #255312 #125320
triadic
#255312 #122553 #531225
tetradic
#255312 #124553 #401253 #532012
square
#255312 #124553 #401253 #532012
split-complementary
#255312 #201253 #531245
monochromatic
#0B1905 #0F2107 #255312 #3B851D #52B828
Accessibility & contrast
On white
9.03
#255312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#255312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255312
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255312 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#215046
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #255312; /* rgb */ color: rgb(37, 83, 18); /* oklch */ color: oklch(39.5% 0.107 138.2);
Tailwind
colors: {
custom: {
50: '#658455',
500: '#255312',
950: '#000000',
},
}SCSS
$custom: #255312; $custom-light: #658455; $custom-dark: #000000;
JSON
{
"hex": "#255312",
"rgb": {
"r": 37,
"g": 83,
"b": 18
},
"hsl": {
"h": 102.462,
"s": 64.356,
"l": 19.804
},
"oklch": {
"l": 0.39498,
"c": 0.10697,
"h": 138.2
},
"luminance": 0.06624
}Semantic roles & 50–950 ramp
primary
#255312
secondary
#72358C
accent
#40E7B7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78