#125828#125828
#125828 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.103 H 149.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #125828 |
|---|---|
| RGB | rgb(18, 88, 40) |
| HSL | hsl(139, 66%, 21%) |
| HSV | hsv(139, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 54.5%, 65.5%) |
| CIE-LAB | lab(32.39, -32.93, 21.77) |
| CIE-LCH | lch(32.39, 39.47, 146.53°) |
| OKLab | oklab(40.61% -0.0885 0.0528) |
| OKLCH | oklch(40.61% 0.103 149.2) |
| XYZ | xyz(4.1218, 7.2608, 3.1913) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.49
Forest Green
#2D5A27
ΔE00 3.70
Spruce
#0A5F38
ΔE00 3.87
Deep Green
#02590F
ΔE00 4.96
Pine Green
#0A481E
ΔE00 5.02
Forest
#0B5509
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125828 #581242
analogous
#1F5812 #125828 #12584B
triadic
#125828 #281258 #582812
tetradic
#125828 #121F58 #581242 #584B12
square
#125828 #121F58 #581242 #584B12
split-complementary
#125828 #4B1258 #58121F
monochromatic
#05190C #082511 #125828 #1C8B3F #27BE56
Accessibility & contrast
On white
8.56
#125828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#125828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125828
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125828 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #125828; /* rgb */ color: rgb(18, 88, 40); /* oklch */ color: oklch(40.6% 0.103 149.2);
Tailwind
colors: {
custom: {
50: '#5c8863',
500: '#125828',
950: '#000000',
},
}SCSS
$custom: #125828; $custom-light: #5c8863; $custom-dark: #000000;
JSON
{
"hex": "#125828",
"rgb": {
"r": 18,
"g": 88,
"b": 40
},
"hsl": {
"h": 138.857,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40613,
"c": 0.10307,
"h": 149.2
},
"luminance": 0.07261
}Semantic roles & 50–950 ramp
primary
#125828
secondary
#913574
accent
#3FB3E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79