#126228#126228
#126228 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.6% C 0.117 H 147.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #126228 |
|---|---|
| RGB | rgb(18, 98, 40) |
| HSL | hsl(137, 69%, 23%) |
| HSV | hsv(137, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 59.2%, 61.6%) |
| CIE-LAB | lab(36.02, -36.86, 26.19) |
| CIE-LCH | lch(36.02, 45.22, 144.61°) |
| OKLab | oklab(43.61% -0.0991 0.0626) |
| OKLCH | oklch(43.61% 0.117 147.7) |
| XYZ | xyz(4.9997, 9.0166, 3.4839) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.34
Forest Green
#2D5A27
ΔE00 4.41
Pine
#2B5D34
ΔE00 4.65
Spruce
#0A5F38
ΔE00 4.90
Forest
#0B5509
ΔE00 5.56
Darkgreen
#006400
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126228 #62124C
analogous
#246212 #126228 #126250
triadic
#126228 #281262 #622812
tetradic
#126228 #122462 #62124C #625012
square
#126228 #122462 #62124C #625012
split-complementary
#126228 #501262 #621224
monochromatic
#051A0B #092E13 #126228 #1B963D #25C952
Accessibility & contrast
On white
7.49
#126228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#126228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126228
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126228 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5A522D
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126228; /* rgb */ color: rgb(18, 98, 40); /* oklch */ color: oklch(43.6% 0.117 147.7);
Tailwind
colors: {
custom: {
50: '#5f8f64',
500: '#126228',
950: '#000000',
},
}SCSS
$custom: #126228; $custom-light: #5f8f64; $custom-dark: #000000;
JSON
{
"hex": "#126228",
"rgb": {
"r": 18,
"g": 98,
"b": 40
},
"hsl": {
"h": 136.5,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43613,
"c": 0.11722,
"h": 147.7
},
"luminance": 0.09017
}Semantic roles & 50–950 ramp
primary
#126228
secondary
#9A367E
accent
#3CBBEC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A