#125B22#125B22
#125B22 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.113 H 146.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #125B22 |
|---|---|
| RGB | rgb(18, 91, 34) |
| HSL | hsl(133, 67%, 21%) |
| HSV | hsv(133, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 62.6%, 64.3%) |
| CIE-LAB | lab(33.41, -35.08, 26.30) |
| CIE-LCH | lch(33.41, 43.84, 143.15°) |
| OKLab | oklab(41.42% -0.0945 0.0623) |
| OKLCH | oklch(41.42% 0.113 146.6) |
| XYZ | xyz(4.2790, 7.7258, 2.7788) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.10
Forest Green
#2D5A27
ΔE00 3.41
Forest
#0B5509
ΔE00 3.94
Pine
#2B5D34
ΔE00 4.46
Spruce
#0A5F38
ΔE00 5.22
Bottle Green
#044A05
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B22 #5B124B
analogous
#275B12 #125B22 #125B47
triadic
#125B22 #22125B #5B2212
tetradic
#125B22 #12275B #5B124B #5B4712
square
#125B22 #12275B #5B124B #5B4712
split-complementary
#125B22 #47125B #5B1227
monochromatic
#051A0A #08280F #125B22 #1C8E35 #26C148
Accessibility & contrast
On white
8.25
#125B22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#125B22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B22
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B22 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C521C
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125b22; /* rgb */ color: rgb(18, 91, 34); /* oklch */ color: oklch(41.4% 0.113 146.6);
Tailwind
colors: {
custom: {
50: '#5d8a5f',
500: '#125b22',
950: '#000000',
},
}SCSS
$custom: #125b22; $custom-light: #5d8a5f; $custom-dark: #000000;
JSON
{
"hex": "#125b22",
"rgb": {
"r": 18,
"g": 91,
"b": 34
},
"hsl": {
"h": 133.151,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41424,
"c": 0.11318,
"h": 146.6
},
"luminance": 0.07726
}Semantic roles & 50–950 ramp
primary
#125B22
secondary
#93357F
accent
#3EC4EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79