#1B4F2F#1B4F2F
#1B4F2F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.078 H 153.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4F2F |
|---|---|
| RGB | rgb(27, 79, 47) |
| HSL | hsl(143, 49%, 21%) |
| HSV | hsv(143, 66%, 31%) |
| CMYK | cmyk(65.8%, 0%, 40.5%, 69%) |
| CIE-LAB | lab(29.49, -25.69, 13.91) |
| CIE-LCH | lch(29.49, 29.21, 151.56°) |
| OKLab | oklab(38.33% -0.0696 0.0348) |
| OKLCH | oklch(38.33% 0.078 153.4) |
| XYZ | xyz(3.7608, 6.0298, 3.6545) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.10
Pine Green
#0A481E
ΔE00 4.03
Pine
#2B5D34
ΔE00 5.15
Spruce
#0A5F38
ΔE00 5.61
Hunter Green
#355E3B
ΔE00 5.70
Forest Green
#2D5A27
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4F2F #4F1B3B
analogous
#214F1B #1B4F2F #1B4F49
triadic
#1B4F2F #2F1B4F #4F2F1B
tetradic
#1B4F2F #1B214F #4F1B3B #4F491B
square
#1B4F2F #1B214F #4F1B3B #4F491B
split-complementary
#1B4F2F #491B4F #4F1B21
monochromatic
#08170E #0B2114 #1B4F2F #2B7D4A #3AAA65
Accessibility & contrast
On white
9.52
#1B4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1B4F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4F2F
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4F2F | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#484431
Tritanopia (blue-blind)
#094E47
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b4f2f; /* rgb */ color: rgb(27, 79, 47); /* oklch */ color: oklch(38.3% 0.078 153.4);
Tailwind
colors: {
custom: {
50: '#5d8167',
500: '#1b4f2f',
950: '#000000',
},
}SCSS
$custom: #1b4f2f; $custom-light: #5d8167; $custom-dark: #000000;
JSON
{
"hex": "#1b4f2f",
"rgb": {
"r": 27,
"g": 79,
"b": 47
},
"hsl": {
"h": 143.077,
"s": 49.057,
"l": 20.784
},
"oklch": {
"l": 0.38329,
"c": 0.07784,
"h": 153.4
},
"luminance": 0.0603
}Semantic roles & 50–950 ramp
primary
#1B4F2F
secondary
#85416B
accent
#4FA4D9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A06
muted
#797C7A