#125A23#125A23
#125A23 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.111 H 147.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #125A23 |
|---|---|
| RGB | rgb(18, 90, 35) |
| HSL | hsl(134, 67%, 21%) |
| HSV | hsv(134, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 61.1%, 64.7%) |
| CIE-LAB | lab(33.05, -34.54, 25.35) |
| CIE-LCH | lch(33.05, 42.85, 143.73°) |
| OKLab | oklab(41.14% -0.093 0.0603) |
| OKLCH | oklch(41.14% 0.111 147) |
| XYZ | xyz(4.2087, 7.5618, 2.8275) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.35
Deep Green
#02590F
ΔE00 3.43
Forest
#0B5509
ΔE00 4.15
Pine
#2B5D34
ΔE00 4.22
Spruce
#0A5F38
ΔE00 4.95
British Racing Green
#05480D
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A23 #5A1249
analogous
#255A12 #125A23 #125A47
triadic
#125A23 #23125A #5A2312
tetradic
#125A23 #12255A #5A1249 #5A4712
square
#125A23 #12255A #5A1249 #5A4712
split-complementary
#125A23 #47125A #5A1225
monochromatic
#051A0A #08270F #125A23 #1C8D37 #26C04B
Accessibility & contrast
On white
8.36
#125A23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#125A23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A23
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A23 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a23; /* rgb */ color: rgb(18, 90, 35); /* oklch */ color: oklch(41.1% 0.111 147.0);
Tailwind
colors: {
custom: {
50: '#5d8960',
500: '#125a23',
950: '#000000',
},
}SCSS
$custom: #125a23; $custom-light: #5d8960; $custom-dark: #000000;
JSON
{
"hex": "#125a23",
"rgb": {
"r": 18,
"g": 90,
"b": 35
},
"hsl": {
"h": 134.167,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41136,
"c": 0.11085,
"h": 147
},
"luminance": 0.07562
}Semantic roles & 50–950 ramp
primary
#125A23
secondary
#93357D
accent
#3EC1EA
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79