#1B540F#1B540F
#1B540F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.115 H 140.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1B540F |
|---|---|
| RGB | rgb(27, 84, 15) |
| HSL | hsl(110, 70%, 19%) |
| HSV | hsv(110, 82%, 33%) |
| CMYK | cmyk(67.9%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(30.90, -32.56, 32.58) |
| CIE-LCH | lch(30.90, 46.06, 134.98°) |
| OKLab | oklab(39.36% -0.0892 0.0731) |
| OKLCH | oklch(39.36% 0.115 140.6) |
| XYZ | xyz(3.7084, 6.6078, 1.5318) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.53
Deep Green
#02590F
ΔE00 2.60
Bottle Green
#044A05
ΔE00 3.42
Darkgreen (survey)
#054907
ΔE00 3.71
British Racing Green
#05480D
ΔE00 4.31
Forest Green
#2D5A27
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B540F #480F54
analogous
#3E540F #1B540F #0F5426
triadic
#1B540F #0F1B54 #540F1B
tetradic
#1B540F #0F3E54 #480F54 #54260F
square
#1B540F #0F3E54 #480F54 #54260F
split-complementary
#1B540F #260F54 #540F3E
monochromatic
#081A05 #0A2006 #1B540F #2C8818 #3CBC22
Accessibility & contrast
On white
9.05
#1B540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1B540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B540F
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B540F | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C02
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#125147
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b540f; /* rgb */ color: rgb(27, 84, 15); /* oklch */ color: oklch(39.4% 0.115 140.6);
Tailwind
colors: {
custom: {
50: '#608553',
500: '#1b540f',
950: '#000000',
},
}SCSS
$custom: #1b540f; $custom-light: #608553; $custom-dark: #000000;
JSON
{
"hex": "#1b540f",
"rgb": {
"r": 27,
"g": 84,
"b": 15
},
"hsl": {
"h": 109.565,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.39355,
"c": 0.11532,
"h": 140.6
},
"luminance": 0.06608
}Semantic roles & 50–950 ramp
primary
#1B540F
secondary
#7E318E
accent
#3BEDCE
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B03
muted
#7A7C78