#125A25#125A25
#125A25 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.109 H 147.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #125A25 |
|---|---|
| RGB | rgb(18, 90, 37) |
| HSL | hsl(136, 67%, 21%) |
| HSV | hsv(136, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 58.9%, 64.7%) |
| CIE-LAB | lab(33.08, -34.23, 24.29) |
| CIE-LCH | lch(33.08, 41.97, 144.64°) |
| OKLab | oklab(41.17% -0.0921 0.0582) |
| OKLCH | oklch(41.17% 0.109 147.7) |
| XYZ | xyz(4.2392, 7.5740, 2.9884) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.39
Deep Green
#02590F
ΔE00 3.88
Pine
#2B5D34
ΔE00 3.91
Spruce
#0A5F38
ΔE00 4.52
Forest
#0B5509
ΔE00 4.58
Pine Green
#0A481E
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A25 #5A1247
analogous
#235A12 #125A25 #125A49
triadic
#125A25 #25125A #5A2512
tetradic
#125A25 #12235A #5A1247 #5A4912
square
#125A25 #12235A #5A1247 #5A4912
split-complementary
#125A25 #49125A #5A1223
monochromatic
#051A0A #082710 #125A25 #1C8D3A #26C04F
Accessibility & contrast
On white
8.35
#125A25 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#125A25 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A25
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A25 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5120
Deuteranopia (green-blind)
#534C29
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a25; /* rgb */ color: rgb(18, 90, 37); /* oklch */ color: oklch(41.2% 0.109 147.7);
Tailwind
colors: {
custom: {
50: '#5d8961',
500: '#125a25',
950: '#000000',
},
}SCSS
$custom: #125a25; $custom-light: #5d8961; $custom-dark: #000000;
JSON
{
"hex": "#125a25",
"rgb": {
"r": 18,
"g": 90,
"b": 37
},
"hsl": {
"h": 135.833,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41167,
"c": 0.10894,
"h": 147.7
},
"luminance": 0.07574
}Semantic roles & 50–950 ramp
primary
#125A25
secondary
#93357A
accent
#3EBCEA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79