#125826#125826
#125826 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.105 H 148.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #125826 |
|---|---|
| RGB | rgb(18, 88, 38) |
| HSL | hsl(137, 66%, 21%) |
| HSV | hsv(137, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 56.8%, 65.5%) |
| CIE-LAB | lab(32.36, -33.27, 22.87) |
| CIE-LCH | lch(32.36, 40.37, 145.50°) |
| OKLab | oklab(40.58% -0.0895 0.0551) |
| OKLCH | oklch(40.58% 0.105 148.4) |
| XYZ | xyz(4.0887, 7.2475, 3.0168) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.52
Pine
#2B5D34
ΔE00 3.72
Spruce
#0A5F38
ΔE00 4.28
Deep Green
#02590F
ΔE00 4.46
Forest
#0B5509
ΔE00 4.98
Pine Green
#0A481E
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125826 #581244
analogous
#215812 #125826 #125849
triadic
#125826 #261258 #582612
tetradic
#125826 #122158 #581244 #584912
square
#125826 #122158 #581244 #584912
split-complementary
#125826 #491258 #581221
monochromatic
#05190B #082510 #125826 #1C8B3C #27BE52
Accessibility & contrast
On white
8.57
#125826 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#125826 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125826
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125826 | 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)
#595022
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #125826; /* rgb */ color: rgb(18, 88, 38); /* oklch */ color: oklch(40.6% 0.105 148.4);
Tailwind
colors: {
custom: {
50: '#5c8861',
500: '#125826',
950: '#000000',
},
}SCSS
$custom: #125826; $custom-light: #5c8861; $custom-dark: #000000;
JSON
{
"hex": "#125826",
"rgb": {
"r": 18,
"g": 88,
"b": 38
},
"hsl": {
"h": 137.143,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40579,
"c": 0.10509,
"h": 148.4
},
"luminance": 0.07248
}Semantic roles & 50–950 ramp
primary
#125826
secondary
#913576
accent
#3FB8E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79