#255812#255812
#255812 is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.114 H 138.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #255812 |
|---|---|
| RGB | rgb(37, 88, 18) |
| HSL | hsl(104, 66%, 21%) |
| HSV | hsv(104, 80%, 35%) |
| CMYK | cmyk(58%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.74, -31.06, 33.33) |
| CIE-LCH | lch(32.74, 45.56, 132.98°) |
| OKLab | oklab(40.98% -0.0856 0.0751) |
| OKLCH | oklch(40.98% 0.114 138.8) |
| XYZ | xyz(4.3617, 7.4161, 1.7738) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.65
Deep Green
#02590F
ΔE00 3.16
Forest Green
#2D5A27
ΔE00 3.83
Navy Green
#35530A
ΔE00 4.32
Bottle Green
#044A05
ΔE00 5.06
Darkgreen (survey)
#054907
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255812 #451258
analogous
#485812 #255812 #125822
triadic
#255812 #122558 #581225
tetradic
#255812 #124858 #451258 #582212
square
#255812 #124858 #451258 #582212
split-complementary
#255812 #221258 #581248
monochromatic
#0B1905 #102508 #255812 #3A8B1C #50BE27
Accessibility & contrast
On white
8.46
#255812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#255812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255812
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255812 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#20554A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #255812; /* rgb */ color: rgb(37, 88, 18); /* oklch */ color: oklch(41.0% 0.114 138.8);
Tailwind
colors: {
custom: {
50: '#668855',
500: '#255812',
950: '#000000',
},
}SCSS
$custom: #255812; $custom-light: #668855; $custom-dark: #000000;
JSON
{
"hex": "#255812",
"rgb": {
"r": 37,
"g": 88,
"b": 18
},
"hsl": {
"h": 103.714,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40983,
"c": 0.11388,
"h": 138.8
},
"luminance": 0.07416
}Semantic roles & 50–950 ramp
primary
#255812
secondary
#783591
accent
#3FE9BB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78