#125827#125827
#125827 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.104 H 148.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #125827 |
|---|---|
| RGB | rgb(18, 88, 39) |
| HSL | hsl(138, 66%, 21%) |
| HSV | hsv(138, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 55.7%, 65.5%) |
| CIE-LAB | lab(32.38, -33.10, 22.32) |
| CIE-LCH | lch(32.38, 39.92, 146.01°) |
| OKLab | oklab(40.6% -0.089 0.0539) |
| OKLCH | oklch(40.6% 0.104 148.8) |
| XYZ | xyz(4.1051, 7.2541, 3.1029) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.60
Forest Green
#2D5A27
ΔE00 3.60
Spruce
#0A5F38
ΔE00 4.08
Deep Green
#02590F
ΔE00 4.71
Pine Green
#0A481E
ΔE00 5.06
Forest
#0B5509
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125827 #581243
analogous
#205812 #125827 #12584A
triadic
#125827 #271258 #582712
tetradic
#125827 #122058 #581243 #584A12
square
#125827 #122058 #581243 #584A12
split-complementary
#125827 #4A1258 #581220
monochromatic
#05190B #082510 #125827 #1C8B3E #27BE54
Accessibility & contrast
On white
8.57
#125827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#125827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125827
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125827 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595023
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #125827; /* rgb */ color: rgb(18, 88, 39); /* oklch */ color: oklch(40.6% 0.104 148.8);
Tailwind
colors: {
custom: {
50: '#5c8862',
500: '#125827',
950: '#000000',
},
}SCSS
$custom: #125827; $custom-light: #5c8862; $custom-dark: #000000;
JSON
{
"hex": "#125827",
"rgb": {
"r": 18,
"g": 88,
"b": 39
},
"hsl": {
"h": 138,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40595,
"c": 0.10409,
"h": 148.8
},
"luminance": 0.07255
}Semantic roles & 50–950 ramp
primary
#125827
secondary
#913575
accent
#3FB6E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79