#125A2C#125A2C
#125A2C is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.102 H 150.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #125A2C |
|---|---|
| RGB | rgb(18, 90, 44) |
| HSL | hsl(142, 67%, 21%) |
| HSV | hsv(142, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 51.1%, 64.7%) |
| CIE-LAB | lab(33.18, -33.01, 20.47) |
| CIE-LCH | lch(33.18, 38.84, 148.20°) |
| OKLab | oklab(41.29% -0.0888 0.05) |
| OKLCH | oklch(41.29% 0.102 150.6) |
| XYZ | xyz(4.3599, 7.6223, 3.6239) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.96
Pine
#2B5D34
ΔE00 3.07
Forest Green
#2D5A27
ΔE00 4.04
Hunter Green
#355E3B
ΔE00 5.22
Deep Green
#02590F
ΔE00 5.60
Pine Green
#0A481E
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A2C #5A1240
analogous
#1C5A12 #125A2C #125A50
triadic
#125A2C #2C125A #5A2C12
tetradic
#125A2C #121C5A #5A1240 #5A5012
square
#125A2C #121C5A #5A1240 #5A5012
split-complementary
#125A2C #50125A #5A121C
monochromatic
#051A0C #082713 #125A2C #1C8D45 #26C05E
Accessibility & contrast
On white
8.32
#125A2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#125A2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A2C
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A2C | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5228
Deuteranopia (green-blind)
#524C2F
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a2c; /* rgb */ color: rgb(18, 90, 44); /* oklch */ color: oklch(41.3% 0.102 150.6);
Tailwind
colors: {
custom: {
50: '#5d8966',
500: '#125a2c',
950: '#000000',
},
}SCSS
$custom: #125a2c; $custom-light: #5d8966; $custom-dark: #000000;
JSON
{
"hex": "#125a2c",
"rgb": {
"r": 18,
"g": 90,
"b": 44
},
"hsl": {
"h": 141.667,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41287,
"c": 0.10189,
"h": 150.6
},
"luminance": 0.07623
}Semantic roles & 50–950 ramp
primary
#125A2C
secondary
#933571
accent
#3EACEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A