#125E23#125E23
#125E23 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.3% C 0.116 H 146.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #125E23 |
|---|---|
| RGB | rgb(18, 94, 35) |
| HSL | hsl(133, 68%, 22%) |
| HSV | hsv(133, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 62.8%, 63.1%) |
| CIE-LAB | lab(34.51, -36.09, 27.06) |
| CIE-LCH | lch(34.51, 45.11, 143.14°) |
| OKLab | oklab(42.34% -0.0972 0.0641) |
| OKLCH | oklch(42.34% 0.116 146.6) |
| XYZ | xyz(4.5552, 8.2548, 2.9431) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.21
Forest Green
#2D5A27
ΔE00 3.74
Forest
#0B5509
ΔE00 4.30
Pine
#2B5D34
ΔE00 4.66
Spruce
#0A5F38
ΔE00 5.30
Darkgreen
#006400
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E23 #5E124D
analogous
#275E12 #125E23 #125E49
triadic
#125E23 #23125E #5E2312
tetradic
#125E23 #12275E #5E124D #5E4912
square
#125E23 #12275E #5E124D #5E4912
split-complementary
#125E23 #49125E #5E1227
monochromatic
#051A0A #082B10 #125E23 #1C9136 #26C549
Accessibility & contrast
On white
7.92
#125E23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#125E23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E23
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E23 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F551D
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e23; /* rgb */ color: rgb(18, 94, 35); /* oklch */ color: oklch(42.3% 0.116 146.6);
Tailwind
colors: {
custom: {
50: '#5e8c60',
500: '#125e23',
950: '#000000',
},
}SCSS
$custom: #125e23; $custom-light: #5e8c60; $custom-dark: #000000;
JSON
{
"hex": "#125e23",
"rgb": {
"r": 18,
"g": 94,
"b": 35
},
"hsl": {
"h": 133.421,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42342,
"c": 0.11639,
"h": 146.6
},
"luminance": 0.08255
}Semantic roles & 50–950 ramp
primary
#125E23
secondary
#963581
accent
#3DC4EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79