#125F23#125F23
#125F23 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.118 H 146.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #125F23 |
|---|---|
| RGB | rgb(18, 95, 35) |
| HSL | hsl(133, 68%, 22%) |
| HSV | hsv(133, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 63.2%, 62.7%) |
| CIE-LAB | lab(34.87, -36.47, 27.48) |
| CIE-LCH | lch(34.87, 45.67, 143.00°) |
| OKLab | oklab(42.64% -0.0982 0.065) |
| OKLCH | oklch(42.64% 0.118 146.5) |
| XYZ | xyz(4.6447, 8.4338, 2.9729) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.26
Forest Green
#2D5A27
ΔE00 3.91
Forest
#0B5509
ΔE00 4.42
Pine
#2B5D34
ΔE00 4.82
Darkgreen
#006400
ΔE00 5.40
Spruce
#0A5F38
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F23 #5F124E
analogous
#275F12 #125F23 #125F4A
triadic
#125F23 #23125F #5F2312
tetradic
#125F23 #12275F #5F124E #5F4A12
square
#125F23 #12275F #5F124E #5F4A12
split-complementary
#125F23 #4A125F #5F1227
monochromatic
#051A09 #082C10 #125F23 #1C9236 #25C649
Accessibility & contrast
On white
7.82
#125F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#125F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F23
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F23 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561D
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f23; /* rgb */ color: rgb(18, 95, 35); /* oklch */ color: oklch(42.6% 0.118 146.5);
Tailwind
colors: {
custom: {
50: '#5e8d60',
500: '#125f23',
950: '#000000',
},
}SCSS
$custom: #125f23; $custom-light: #5e8d60; $custom-dark: #000000;
JSON
{
"hex": "#125f23",
"rgb": {
"r": 18,
"g": 95,
"b": 35
},
"hsl": {
"h": 133.247,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42643,
"c": 0.11774,
"h": 146.5
},
"luminance": 0.08434
}Semantic roles & 50–950 ramp
primary
#125F23
secondary
#973682
accent
#3DC5EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79