#1B480B#1B480B

#1B480B is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.102 H 139.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#1B480B
RGBrgb(27, 72, 11)
HSLhsl(104, 73%, 16%)
HSVhsv(104, 85%, 28%)
CMYKcmyk(62.5%, 0%, 84.7%, 71.8%)
CIE-LABlab(26.42, -27.90, 29.76)
CIE-LCHlch(26.42, 40.79, 133.15°)
OKLaboklab(35.65% -0.0768 0.0666)
OKLCHoklch(35.65% 0.102 139.1)
XYZxyz(2.8297, 4.8917, 1.1116)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B480B #380B48
analogous
#3A480B #1B480B #0B481A
triadic
#1B480B #0B1B48 #480B1B
tetradic
#1B480B #0B3A48 #380B48 #481A0B
square
#1B480B #0B3A48 #380B48 #481A0B
split-complementary
#1B480B #1A0B48 #480B3A
monochromatic
#0A1B04 #0A1B04 #1B480B #2F7D13 #43B21B

Accessibility & contrast

On white

10.61
#1B480B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B480B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B480B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B480B#FFFFFF#000000##FFFFFF
##1B480B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4101
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#16453C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b480b;
/* rgb */ color: rgb(27, 72, 11);
/* oklch */ color: oklch(35.6% 0.102 139.1);
Tailwind
colors: {
  custom: {
    50: '#5e7b4f',
    500: '#1b480b',
    950: '#000000',
  },
}
SCSS
$custom: #1b480b;
$custom-light: #5e7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b480b",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 11
  },
  "hsl": {
    "h": 104.262,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35649,
    "c": 0.1017,
    "h": 139.1
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#1B480B
secondary
#6D2A84
accent
#38F0C0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B480B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1B480B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva