#125C23#125C23
#125C23 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.114 H 146.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #125C23 |
|---|---|
| RGB | rgb(18, 92, 35) |
| HSL | hsl(134, 67%, 22%) |
| HSV | hsv(134, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 62%, 63.9%) |
| CIE-LAB | lab(33.78, -35.32, 26.21) |
| CIE-LCH | lch(33.78, 43.98, 143.42°) |
| OKLab | oklab(41.74% -0.0951 0.0622) |
| OKLCH | oklch(41.74% 0.114 146.8) |
| XYZ | xyz(4.3796, 7.9037, 2.8845) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.24
Forest Green
#2D5A27
ΔE00 3.48
Forest
#0B5509
ΔE00 4.16
Pine
#2B5D34
ΔE00 4.39
Spruce
#0A5F38
ΔE00 5.09
Darkgreen
#006400
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C23 #5C124B
analogous
#265C12 #125C23 #125C48
triadic
#125C23 #23125C #5C2312
tetradic
#125C23 #12265C #5C124B #5C4812
square
#125C23 #12265C #5C124B #5C4812
split-complementary
#125C23 #48125C #5C1226
monochromatic
#051A0A #082910 #125C23 #1C8F36 #26C24A
Accessibility & contrast
On white
8.14
#125C23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#125C23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C23
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C23 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D531D
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c23; /* rgb */ color: rgb(18, 92, 35); /* oklch */ color: oklch(41.7% 0.114 146.8);
Tailwind
colors: {
custom: {
50: '#5e8b60',
500: '#125c23',
950: '#000000',
},
}SCSS
$custom: #125c23; $custom-light: #5e8b60; $custom-dark: #000000;
JSON
{
"hex": "#125c23",
"rgb": {
"r": 18,
"g": 92,
"b": 35
},
"hsl": {
"h": 133.784,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.4174,
"c": 0.11363,
"h": 146.8
},
"luminance": 0.07904
}Semantic roles & 50–950 ramp
primary
#125C23
secondary
#94357F
accent
#3EC3EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79