#125F2D#125F2D
#125F2D is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.108 H 150.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #125F2D |
|---|---|
| RGB | rgb(18, 95, 45) |
| HSL | hsl(141, 68%, 22%) |
| HSV | hsv(141, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 52.6%, 62.7%) |
| CIE-LAB | lab(35.01, -34.85, 22.19) |
| CIE-LCH | lch(35.01, 41.32, 147.52°) |
| OKLab | oklab(42.8% -0.0937 0.054) |
| OKLCH | oklch(42.8% 0.108 150) |
| XYZ | xyz(4.8149, 8.5019, 3.8694) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.14
Pine
#2B5D34
ΔE00 3.37
Forest Green
#2D5A27
ΔE00 4.18
Deep Green
#02590F
ΔE00 5.27
Hunter Green
#355E3B
ΔE00 5.52
Forest
#0B5509
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F2D #5F1244
analogous
#1D5F12 #125F2D #125F54
triadic
#125F2D #2D125F #5F2D12
tetradic
#125F2D #121D5F #5F1244 #5F5412
square
#125F2D #121D5F #5F1244 #5F5412
split-complementary
#125F2D #54125F #5F121D
monochromatic
#051A0C #082C15 #125F2D #1C9245 #25C65E
Accessibility & contrast
On white
7.78
#125F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#125F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F2D
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F2D | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f2d; /* rgb */ color: rgb(18, 95, 45); /* oklch */ color: oklch(42.8% 0.108 150.0);
Tailwind
colors: {
custom: {
50: '#5e8d67',
500: '#125f2d',
950: '#000000',
},
}SCSS
$custom: #125f2d; $custom-light: #5e8d67; $custom-dark: #000000;
JSON
{
"hex": "#125f2d",
"rgb": {
"r": 18,
"g": 95,
"b": 45
},
"hsl": {
"h": 141.039,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.428,
"c": 0.1081,
"h": 150
},
"luminance": 0.08502
}Semantic roles & 50–950 ramp
primary
#125F2D
secondary
#973675
accent
#3DAEEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A