#125228#125228
#125228 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.094 H 150.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #125228 |
|---|---|
| RGB | rgb(18, 82, 40) |
| HSL | hsl(141, 64%, 20%) |
| HSV | hsv(141, 78%, 32%) |
| CMYK | cmyk(78%, 0%, 51.2%, 67.8%) |
| CIE-LAB | lab(30.20, -30.44, 19.02) |
| CIE-LCH | lch(30.20, 35.89, 148.01°) |
| OKLab | oklab(38.8% -0.0819 0.0465) |
| OKLCH | oklch(38.8% 0.094 150.4) |
| XYZ | xyz(3.6495, 6.3160, 3.0338) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.15
Pine
#2B5D34
ΔE00 4.29
Spruce
#0A5F38
ΔE00 4.65
Forest Green
#2D5A27
ΔE00 4.80
Evergreen
#05472A
ΔE00 4.90
British Racing Green
#05480D
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125228 #52123C
analogous
#1C5212 #125228 #125248
triadic
#125228 #281252 #522812
tetradic
#125228 #121C52 #52123C #524812
square
#125228 #121C52 #52123C #524812
split-complementary
#125228 #481252 #52121C
monochromatic
#06190C #072010 #125228 #1D8440 #28B659
Accessibility & contrast
On white
9.28
#125228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#125228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125228
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125228 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4B452B
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #125228; /* rgb */ color: rgb(18, 82, 40); /* oklch */ color: oklch(38.8% 0.094 150.4);
Tailwind
colors: {
custom: {
50: '#5b8362',
500: '#125228',
950: '#000000',
},
}SCSS
$custom: #125228; $custom-light: #5b8362; $custom-dark: #000000;
JSON
{
"hex": "#125228",
"rgb": {
"r": 18,
"g": 82,
"b": 40
},
"hsl": {
"h": 140.625,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.38796,
"c": 0.0942,
"h": 150.4
},
"luminance": 0.06316
}Semantic roles & 50–950 ramp
primary
#125228
secondary
#8B356D
accent
#41AEE7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79