#125B18#125B18
#125B18 is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.3% C 0.122 H 144.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #125B18 |
|---|---|
| RGB | rgb(18, 91, 24) |
| HSL | hsl(125, 67%, 21%) |
| HSV | hsv(125, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 73.6%, 64.3%) |
| CIE-LAB | lab(33.30, -36.36, 31.14) |
| CIE-LCH | lch(33.30, 47.87, 139.42°) |
| OKLab | oklab(41.3% -0.0984 0.0715) |
| OKLCH | oklch(41.3% 0.122 144) |
| XYZ | xyz(4.1551, 7.6762, 2.1267) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.39
Forest
#0B5509
ΔE00 2.39
Forest Green
#2D5A27
ΔE00 4.05
Darkgreen
#006400
ΔE00 4.59
Bottle Green
#044A05
ΔE00 5.34
Darkgreen (survey)
#054907
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B18 #5B1255
analogous
#315B12 #125B18 #125B3D
triadic
#125B18 #18125B #5B1812
tetradic
#125B18 #12315B #5B1255 #5B3D12
square
#125B18 #12315B #5B1255 #5B3D12
split-complementary
#125B18 #3D125B #5B1231
monochromatic
#051A07 #08280B #125B18 #1C8E25 #26C133
Accessibility & contrast
On white
8.28
#125B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#125B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B18
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B18 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520E
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125b18; /* rgb */ color: rgb(18, 91, 24); /* oklch */ color: oklch(41.3% 0.122 144.0);
Tailwind
colors: {
custom: {
50: '#5e8a59',
500: '#125b18',
950: '#000000',
},
}SCSS
$custom: #125b18; $custom-light: #5e8a59; $custom-dark: #000000;
JSON
{
"hex": "#125b18",
"rgb": {
"r": 18,
"g": 91,
"b": 24
},
"hsl": {
"h": 124.932,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41302,
"c": 0.12164,
"h": 144
},
"luminance": 0.07677
}Semantic roles & 50–950 ramp
primary
#125B18
secondary
#93358C
accent
#3EDCEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79