#125B28#125B28
#125B28 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.107 H 148.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #125B28 |
|---|---|
| RGB | rgb(18, 91, 40) |
| HSL | hsl(138, 67%, 21%) |
| HSV | hsv(138, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 56%, 64.3%) |
| CIE-LAB | lab(33.49, -34.13, 23.12) |
| CIE-LCH | lch(33.49, 41.23, 145.89°) |
| OKLab | oklab(41.52% -0.0918 0.0558) |
| OKLCH | oklch(41.52% 0.107 148.7) |
| XYZ | xyz(4.3732, 7.7635, 3.2751) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.53
Forest Green
#2D5A27
ΔE00 3.57
Spruce
#0A5F38
ΔE00 3.89
Deep Green
#02590F
ΔE00 4.45
Forest
#0B5509
ΔE00 5.21
Hunter Green
#355E3B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B28 #5B1245
analogous
#215B12 #125B28 #125B4D
triadic
#125B28 #28125B #5B2812
tetradic
#125B28 #12215B #5B1245 #5B4D12
square
#125B28 #12215B #5B1245 #5B4D12
split-complementary
#125B28 #4D125B #5B1221
monochromatic
#051A0B #082812 #125B28 #1C8E3E #26C155
Accessibility & contrast
On white
8.23
#125B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#125B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B28
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B28 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5224
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b28; /* rgb */ color: rgb(18, 91, 40); /* oklch */ color: oklch(41.5% 0.107 148.7);
Tailwind
colors: {
custom: {
50: '#5d8a63',
500: '#125b28',
950: '#000000',
},
}SCSS
$custom: #125b28; $custom-light: #5d8a63; $custom-dark: #000000;
JSON
{
"hex": "#125b28",
"rgb": {
"r": 18,
"g": 91,
"b": 40
},
"hsl": {
"h": 138.082,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41516,
"c": 0.1074,
"h": 148.7
},
"luminance": 0.07764
}Semantic roles & 50–950 ramp
primary
#125B28
secondary
#933577
accent
#3EB6EA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79