#125F2C#125F2C
#125F2C is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.109 H 149.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #125F2C |
|---|---|
| RGB | rgb(18, 95, 44) |
| HSL | hsl(140, 68%, 22%) |
| HSV | hsv(140, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 53.7%, 62.7%) |
| CIE-LAB | lab(34.99, -35.03, 22.74) |
| CIE-LCH | lch(34.99, 41.76, 147.02°) |
| OKLab | oklab(42.78% -0.0941 0.0551) |
| OKLCH | oklch(42.78% 0.109 149.6) |
| XYZ | xyz(4.7959, 8.4943, 3.7692) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.38
Pine
#2B5D34
ΔE00 3.49
Forest Green
#2D5A27
ΔE00 4.09
Deep Green
#02590F
ΔE00 5.05
Hunter Green
#355E3B
ΔE00 5.65
Forest
#0B5509
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F2C #5F1245
analogous
#1E5F12 #125F2C #125F53
triadic
#125F2C #2C125F #5F2C12
tetradic
#125F2C #121E5F #5F1245 #5F5312
square
#125F2C #121E5F #5F1245 #5F5312
split-complementary
#125F2C #53125F #5F121E
monochromatic
#051A0C #082C14 #125F2C #1C9244 #25C65C
Accessibility & contrast
On white
7.78
#125F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#125F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F2C
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F2C | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f2c; /* rgb */ color: rgb(18, 95, 44); /* oklch */ color: oklch(42.8% 0.109 149.6);
Tailwind
colors: {
custom: {
50: '#5e8d66',
500: '#125f2c',
950: '#000000',
},
}SCSS
$custom: #125f2c; $custom-light: #5e8d66; $custom-dark: #000000;
JSON
{
"hex": "#125f2c",
"rgb": {
"r": 18,
"g": 95,
"b": 44
},
"hsl": {
"h": 140.26,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42782,
"c": 0.1091,
"h": 149.6
},
"luminance": 0.08495
}Semantic roles & 50–950 ramp
primary
#125F2C
secondary
#973676
accent
#3DB0EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A