#1B520F#1B520F
#1B520F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.113 H 140.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1B520F |
|---|---|
| RGB | rgb(27, 82, 15) |
| HSL | hsl(109, 69%, 19%) |
| HSV | hsv(109, 82%, 32%) |
| CMYK | cmyk(67.1%, 0%, 81.7%, 67.8%) |
| CIE-LAB | lab(30.16, -31.75, 31.85) |
| CIE-LCH | lch(30.16, 44.97, 134.91°) |
| OKLab | oklab(38.75% -0.087 0.0716) |
| OKLCH | oklch(38.75% 0.113 140.5) |
| XYZ | xyz(3.5553, 6.3018, 1.4808) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.94
Bottle Green
#044A05
ΔE00 2.93
Deep Green
#02590F
ΔE00 3.11
Darkgreen (survey)
#054907
ΔE00 3.17
British Racing Green
#05480D
ΔE00 3.74
Forest Green (survey)
#06470C
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B520F #460F52
analogous
#3D520F #1B520F #0F5225
triadic
#1B520F #0F1B52 #520F1B
tetradic
#1B520F #0F3D52 #460F52 #52250F
square
#1B520F #0F3D52 #460F52 #52250F
split-complementary
#1B520F #250F52 #520F3D
monochromatic
#091A05 #0A1E06 #1B520F #2C8618 #3DB922
Accessibility & contrast
On white
9.29
#1B520F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1B520F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B520F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B520F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B520F | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A03
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#134F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1b520f; /* rgb */ color: rgb(27, 82, 15); /* oklch */ color: oklch(38.7% 0.113 140.5);
Tailwind
colors: {
custom: {
50: '#608353',
500: '#1b520f',
950: '#000000',
},
}SCSS
$custom: #1b520f; $custom-light: #608353; $custom-dark: #000000;
JSON
{
"hex": "#1b520f",
"rgb": {
"r": 27,
"g": 82,
"b": 15
},
"hsl": {
"h": 109.254,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.38747,
"c": 0.11269,
"h": 140.5
},
"luminance": 0.06302
}Semantic roles & 50–950 ramp
primary
#1B520F
secondary
#7C318C
accent
#3CECCC
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78