#125A2A#125A2A
#125A2A is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.104 H 149.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #125A2A |
|---|---|
| RGB | rgb(18, 90, 42) |
| HSL | hsl(140, 67%, 21%) |
| HSV | hsv(140, 80%, 35%) |
| CMYK | cmyk(80%, 0%, 53.3%, 64.7%) |
| CIE-LAB | lab(33.15, -33.38, 21.58) |
| CIE-LCH | lch(33.15, 39.75, 147.12°) |
| OKLab | oklab(41.25% -0.0897 0.0524) |
| OKLCH | oklch(41.25% 0.104 149.7) |
| XYZ | xyz(4.3232, 7.6076, 3.4306) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.25
Spruce
#0A5F38
ΔE00 3.41
Forest Green
#2D5A27
ΔE00 3.78
Deep Green
#02590F
ΔE00 5.09
Hunter Green
#355E3B
ΔE00 5.46
Pine Green
#0A481E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125A2A #5A1242
analogous
#1E5A12 #125A2A #125A4E
triadic
#125A2A #2A125A #5A2A12
tetradic
#125A2A #121E5A #5A1242 #5A4E12
square
#125A2A #121E5A #5A1242 #5A4E12
split-complementary
#125A2A #4E125A #5A121E
monochromatic
#051A0C #082712 #125A2A #1C8D42 #26C05A
Accessibility & contrast
On white
8.33
#125A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#125A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125A2A
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125A2A | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5226
Deuteranopia (green-blind)
#524C2D
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125a2a; /* rgb */ color: rgb(18, 90, 42); /* oklch */ color: oklch(41.3% 0.104 149.7);
Tailwind
colors: {
custom: {
50: '#5d8964',
500: '#125a2a',
950: '#000000',
},
}SCSS
$custom: #125a2a; $custom-light: #5d8964; $custom-dark: #000000;
JSON
{
"hex": "#125a2a",
"rgb": {
"r": 18,
"g": 90,
"b": 42
},
"hsl": {
"h": 140,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.4125,
"c": 0.10394,
"h": 149.7
},
"luminance": 0.07608
}Semantic roles & 50–950 ramp
primary
#125A2A
secondary
#933573
accent
#3EB0EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A