#1B530C#1B530C
#1B530C is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.116 H 140.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1B530C |
|---|---|
| RGB | rgb(27, 83, 12) |
| HSL | hsl(107, 75%, 19%) |
| HSV | hsv(107, 86%, 33%) |
| CMYK | cmyk(67.5%, 0%, 85.5%, 67.5%) |
| CIE-LAB | lab(30.51, -32.38, 33.32) |
| CIE-LCH | lch(30.51, 46.46, 134.18°) |
| OKLab | oklab(39.03% -0.0889 0.0742) |
| OKLCH | oklch(39.03% 0.116 140.1) |
| XYZ | xyz(3.6114, 6.4457, 1.4016) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.64
Deep Green
#02590F
ΔE00 2.89
Bottle Green
#044A05
ΔE00 3.22
Darkgreen (survey)
#054907
ΔE00 3.54
British Racing Green
#05480D
ΔE00 4.23
Racing Green
#014600
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B530C #440C53
analogous
#3E530C #1B530C #0C5320
triadic
#1B530C #0C1B53 #530C1B
tetradic
#1B530C #0C3E53 #440C53 #53200C
square
#1B530C #0C3E53 #440C53 #53200C
split-complementary
#1B530C #200C53 #530C3E
monochromatic
#091B04 #0A1E04 #1B530C #2C8814 #3EBE1B
Accessibility & contrast
On white
9.17
#1B530C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1B530C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B530C
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B530C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B530C | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#135046
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1b530c; /* rgb */ color: rgb(27, 83, 12); /* oklch */ color: oklch(39.0% 0.116 140.1);
Tailwind
colors: {
custom: {
50: '#608451',
500: '#1b530c',
950: '#000000',
},
}SCSS
$custom: #1b530c; $custom-light: #608451; $custom-dark: #000000;
JSON
{
"hex": "#1b530c",
"rgb": {
"r": 27,
"g": 83,
"b": 12
},
"hsl": {
"h": 107.324,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.39029,
"c": 0.11577,
"h": 140.1
},
"luminance": 0.06446
}Semantic roles & 50–950 ramp
primary
#1B530C
secondary
#7A2D8E
accent
#36F1CA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78