#125230#125230
#125230 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.086 H 155.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #125230 |
|---|---|
| RGB | rgb(18, 82, 48) |
| HSL | hsl(148, 64%, 20%) |
| HSV | hsv(148, 78%, 32%) |
| CMYK | cmyk(78%, 0%, 41.5%, 67.8%) |
| CIE-LAB | lab(30.34, -28.78, 14.39) |
| CIE-LCH | lch(30.34, 32.18, 153.43°) |
| OKLab | oklab(38.96% -0.0777 0.036) |
| OKLCH | oklch(38.96% 0.086 155.2) |
| XYZ | xyz(3.7999, 6.3762, 3.8262) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.62
Pine Green
#0A481E
ΔE00 4.27
Spruce
#0A5F38
ΔE00 4.29
Pine
#2B5D34
ΔE00 4.73
Hunter Green
#355E3B
ΔE00 5.70
Forest Green
#2D5A27
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125230 #521234
analogous
#145212 #125230 #125250
triadic
#125230 #301252 #523012
tetradic
#125230 #121452 #521234 #525012
square
#125230 #121452 #521234 #525012
split-complementary
#125230 #501252 #521214
monochromatic
#06190F #072013 #125230 #1D844D #28B66B
Accessibility & contrast
On white
9.23
#125230 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#125230 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125230
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125230 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2E
Deuteranopia (green-blind)
#4A4532
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #125230; /* rgb */ color: rgb(18, 82, 48); /* oklch */ color: oklch(39.0% 0.086 155.2);
Tailwind
colors: {
custom: {
50: '#5a8368',
500: '#125230',
950: '#000000',
},
}SCSS
$custom: #125230; $custom-light: #5a8368; $custom-dark: #000000;
JSON
{
"hex": "#125230",
"rgb": {
"r": 18,
"g": 82,
"b": 48
},
"hsl": {
"h": 148.125,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.38965,
"c": 0.08567,
"h": 155.2
},
"luminance": 0.06377
}Semantic roles & 50–950 ramp
primary
#125230
secondary
#8B3563
accent
#4199E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A