#125A2E#125A2E
#125A2E is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.100 H 151.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #125A2E |
|---|---|
| RGB | rgb(18, 90, 46) |
| HSL | hsl(143, 67%, 21%) |
| HSV | hsv(143, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 48.9%, 64.7%) |
| CIE-LAB | lab(33.22, -32.63, 19.35) |
| CIE-LCH | lch(33.22, 37.93, 149.34°) |
| OKLab | oklab(41.33% -0.0878 0.0475) |
| OKLCH | oklch(41.33% 0.1 151.6) |
| XYZ | xyz(4.3984, 7.6377, 3.8266) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.54
Pine
#2B5D34
ΔE00 2.97
Forest Green
#2D5A27
ΔE00 4.35
Hunter Green
#355E3B
ΔE00 5.01
Pine Green
#0A481E
ΔE00 5.65
Deep Green
#02590F
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A2E #5A123E
analogous
#1A5A12 #125A2E #125A52
triadic
#125A2E #2E125A #5A2E12
tetradic
#125A2E #121A5A #5A123E #5A5212
square
#125A2E #121A5A #5A123E #5A5212
split-complementary
#125A2E #52125A #5A121A
monochromatic
#051A0D #082714 #125A2E #1C8D48 #26C062
Accessibility & contrast
On white
8.31
#125A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#125A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A2E
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A2E | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522B
Deuteranopia (green-blind)
#524C31
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a2e; /* rgb */ color: rgb(18, 90, 46); /* oklch */ color: oklch(41.3% 0.100 151.6);
Tailwind
colors: {
custom: {
50: '#5d8967',
500: '#125a2e',
950: '#000000',
},
}SCSS
$custom: #125a2e; $custom-light: #5d8967; $custom-dark: #000000;
JSON
{
"hex": "#125a2e",
"rgb": {
"r": 18,
"g": 90,
"b": 46
},
"hsl": {
"h": 143.333,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41325,
"c": 0.09981,
"h": 151.6
},
"luminance": 0.07638
}Semantic roles & 50–950 ramp
primary
#125A2E
secondary
#93356E
accent
#3EA7EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A