#125C27#125C27
#125C27 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.110 H 148.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #125C27 |
|---|---|
| RGB | rgb(18, 92, 39) |
| HSL | hsl(137, 67%, 22%) |
| HSV | hsv(137, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 57.6%, 63.9%) |
| CIE-LAB | lab(33.83, -34.70, 24.10) |
| CIE-LCH | lch(33.83, 42.25, 145.21°) |
| OKLab | oklab(41.8% -0.0933 0.0579) |
| OKLCH | oklch(41.8% 0.11 148.2) |
| XYZ | xyz(4.4425, 7.9289, 3.2154) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.54
Pine
#2B5D34
ΔE00 3.76
Deep Green
#02590F
ΔE00 4.11
Spruce
#0A5F38
ΔE00 4.19
Forest
#0B5509
ΔE00 4.97
Hunter Green
#355E3B
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C27 #5C1247
analogous
#225C12 #125C27 #125C4C
triadic
#125C27 #27125C #5C2712
tetradic
#125C27 #12225C #5C1247 #5C4C12
square
#125C27 #12225C #5C1247 #5C4C12
split-complementary
#125C27 #4C125C #5C1222
monochromatic
#051A0B #082911 #125C27 #1C8F3D #26C252
Accessibility & contrast
On white
8.12
#125C27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#125C27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C27
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C27 | 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)
#5D5322
Deuteranopia (green-blind)
#544D2B
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125c27; /* rgb */ color: rgb(18, 92, 39); /* oklch */ color: oklch(41.8% 0.110 148.2);
Tailwind
colors: {
custom: {
50: '#5d8b62',
500: '#125c27',
950: '#000000',
},
}SCSS
$custom: #125c27; $custom-light: #5d8b62; $custom-dark: #000000;
JSON
{
"hex": "#125c27",
"rgb": {
"r": 18,
"g": 92,
"b": 39
},
"hsl": {
"h": 137.027,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41801,
"c": 0.1098,
"h": 148.2
},
"luminance": 0.07929
}Semantic roles & 50–950 ramp
primary
#125C27
secondary
#943579
accent
#3EB9EA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79