#1B480F#1B480F

#1B480F is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.099 H 139.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#1B480F
RGBrgb(27, 72, 15)
HSLhsl(107, 66%, 17%)
HSVhsv(107, 79%, 28%)
CMYKcmyk(62.5%, 0%, 79.2%, 71.8%)
CIE-LABlab(26.45, -27.55, 28.11)
CIE-LCHlch(26.45, 39.36, 134.43°)
OKLaboklab(35.68% -0.0757 0.0638)
OKLCHoklch(35.68% 0.099 139.9)
XYZxyz(2.8555, 4.9020, 1.2475)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B480F #3C0F48
analogous
#38480F #1B480F #0F481F
triadic
#1B480F #0F1B48 #480F1B
tetradic
#1B480F #0F3848 #3C0F48 #481F0F
square
#1B480F #0F3848 #3C0F48 #481F0F
split-complementary
#1B480F #1F0F48 #480F38
monochromatic
#091905 #091905 #1B480F #2E7B1A #41AD24

Accessibility & contrast

On white

10.60
#1B480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B480F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B480F#FFFFFF#000000##FFFFFF
##1B480F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4106
Deuteranopia (green-blind)
#453D15
Tritanopia (blue-blind)
#16453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b480f;
/* rgb */ color: rgb(27, 72, 15);
/* oklch */ color: oklch(35.7% 0.099 139.9);
Tailwind
colors: {
  custom: {
    50: '#5d7b51',
    500: '#1b480f',
    950: '#000000',
  },
}
SCSS
$custom: #1b480f;
$custom-light: #5d7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b480f",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 107.368,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35684,
    "c": 0.09898,
    "h": 139.9
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#1B480F
secondary
#713082
accent
#3FE8C5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B480F

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

Preview Lab → · Contrast checker → · Palette generator →

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