#125E2B#125E2B
#125E2B is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.109 H 149.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #125E2B |
|---|---|
| RGB | rgb(18, 94, 43) |
| HSL | hsl(140, 68%, 22%) |
| HSV | hsv(140, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 54.3%, 63.1%) |
| CIE-LAB | lab(34.62, -34.81, 22.83) |
| CIE-LCH | lch(34.62, 41.63, 146.74°) |
| OKLab | oklab(42.47% -0.0936 0.0553) |
| OKLCH | oklch(42.47% 0.109 149.4) |
| XYZ | xyz(4.6878, 8.3079, 3.6415) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.45
Spruce
#0A5F38
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 3.93
Deep Green
#02590F
ΔE00 4.87
Hunter Green
#355E3B
ΔE00 5.65
Forest
#0B5509
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E2B #5E1245
analogous
#1F5E12 #125E2B #125E51
triadic
#125E2B #2B125E #5E2B12
tetradic
#125E2B #121F5E #5E1245 #5E5112
square
#125E2B #121F5E #5E1245 #5E5112
split-complementary
#125E2B #51125E #5E121F
monochromatic
#051A0C #082B14 #125E2B #1C9142 #26C55A
Accessibility & contrast
On white
7.89
#125E2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#125E2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E2B
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E2B | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e2b; /* rgb */ color: rgb(18, 94, 43); /* oklch */ color: oklch(42.5% 0.109 149.4);
Tailwind
colors: {
custom: {
50: '#5e8c65',
500: '#125e2b',
950: '#000000',
},
}SCSS
$custom: #125e2b; $custom-light: #5e8c65; $custom-dark: #000000;
JSON
{
"hex": "#125e2b",
"rgb": {
"r": 18,
"g": 94,
"b": 43
},
"hsl": {
"h": 139.737,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42467,
"c": 0.10868,
"h": 149.4
},
"luminance": 0.08308
}Semantic roles & 50–950 ramp
primary
#125E2B
secondary
#963576
accent
#3DB2EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A