#125A2B#125A2B
#125A2B is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.103 H 150.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #125A2B |
|---|---|
| RGB | rgb(18, 90, 43) |
| HSL | hsl(141, 67%, 21%) |
| HSV | hsv(141, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 52.2%, 64.7%) |
| CIE-LAB | lab(33.17, -33.20, 21.02) |
| CIE-LCH | lch(33.17, 39.30, 147.66°) |
| OKLab | oklab(41.27% -0.0893 0.0512) |
| OKLCH | oklch(41.27% 0.103 150.2) |
| XYZ | xyz(4.3413, 7.6148, 3.5260) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.15
Spruce
#0A5F38
ΔE00 3.18
Forest Green
#2D5A27
ΔE00 3.90
Hunter Green
#355E3B
ΔE00 5.33
Deep Green
#02590F
ΔE00 5.34
Pine Green
#0A481E
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A2B #5A1241
analogous
#1D5A12 #125A2B #125A4F
triadic
#125A2B #2B125A #5A2B12
tetradic
#125A2B #121D5A #5A1241 #5A4F12
square
#125A2B #121D5A #5A1241 #5A4F12
split-complementary
#125A2B #4F125A #5A121D
monochromatic
#051A0C #082713 #125A2B #1C8D43 #26C05C
Accessibility & contrast
On white
8.32
#125A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#125A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A2B
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A2B | 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)
#5B5227
Deuteranopia (green-blind)
#524C2E
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a2b; /* rgb */ color: rgb(18, 90, 43); /* oklch */ color: oklch(41.3% 0.103 150.2);
Tailwind
colors: {
custom: {
50: '#5d8965',
500: '#125a2b',
950: '#000000',
},
}SCSS
$custom: #125a2b; $custom-light: #5d8965; $custom-dark: #000000;
JSON
{
"hex": "#125a2b",
"rgb": {
"r": 18,
"g": 90,
"b": 43
},
"hsl": {
"h": 140.833,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.41268,
"c": 0.10291,
"h": 150.2
},
"luminance": 0.07615
}Semantic roles & 50–950 ramp
primary
#125A2B
secondary
#933572
accent
#3EAEEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A