#125C28#125C28
#125C28 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.109 H 148.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #125C28 |
|---|---|
| RGB | rgb(18, 92, 40) |
| HSL | hsl(138, 67%, 22%) |
| HSV | hsv(138, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 56.5%, 63.9%) |
| CIE-LAB | lab(33.85, -34.53, 23.57) |
| CIE-LCH | lch(33.85, 41.81, 145.69°) |
| OKLab | oklab(41.82% -0.0928 0.0568) |
| OKLCH | oklch(41.82% 0.109 148.6) |
| XYZ | xyz(4.4592, 7.9356, 3.3038) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.60
Pine
#2B5D34
ΔE00 3.61
Spruce
#0A5F38
ΔE00 3.96
Deep Green
#02590F
ΔE00 4.34
Forest
#0B5509
ΔE00 5.18
Hunter Green
#355E3B
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C28 #5C1246
analogous
#215C12 #125C28 #125C4D
triadic
#125C28 #28125C #5C2812
tetradic
#125C28 #12215C #5C1246 #5C4D12
square
#125C28 #12215C #5C1246 #5C4D12
split-complementary
#125C28 #4D125C #5C1221
monochromatic
#051A0B #082912 #125C28 #1C8F3E #26C255
Accessibility & contrast
On white
8.12
#125C28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#125C28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C28
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C28 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5323
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125c28; /* rgb */ color: rgb(18, 92, 40); /* oklch */ color: oklch(41.8% 0.109 148.6);
Tailwind
colors: {
custom: {
50: '#5d8b63',
500: '#125c28',
950: '#000000',
},
}SCSS
$custom: #125c28; $custom-light: #5d8b63; $custom-dark: #000000;
JSON
{
"hex": "#125c28",
"rgb": {
"r": 18,
"g": 92,
"b": 40
},
"hsl": {
"h": 137.838,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41817,
"c": 0.10882,
"h": 148.6
},
"luminance": 0.07936
}Semantic roles & 50–950 ramp
primary
#125C28
secondary
#943578
accent
#3EB7EA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79