#1B480A#1B480A

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

Color values

HEX#1B480A
RGBrgb(27, 72, 10)
HSLhsl(104, 76%, 16%)
HSVhsv(104, 86%, 28%)
CMYKcmyk(62.5%, 0%, 86.1%, 71.8%)
CIE-LABlab(26.42, -27.97, 30.13)
CIE-LCHlch(26.42, 41.12, 132.87°)
OKLaboklab(35.64% -0.0771 0.0672)
OKLCHoklch(35.64% 0.102 138.9)
XYZxyz(2.8240, 4.8894, 1.0820)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B480A #370A48
analogous
#3A480A #1B480A #0A4818
triadic
#1B480A #0A1B48 #480A1B
tetradic
#1B480A #0A3A48 #370A48 #48180A
square
#1B480A #0A3A48 #370A48 #48180A
split-complementary
#1B480A #180A48 #480A3A
monochromatic
#0A1B04 #0A1B04 #1B480A #2F7E11 #43B319

Accessibility & contrast

On white

10.62
#1B480A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B480A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B480A#FFFFFF#000000##FFFFFF
##1B480A1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b480a;
/* rgb */ color: rgb(27, 72, 10);
/* oklch */ color: oklch(35.6% 0.102 138.9);
Tailwind
colors: {
  custom: {
    50: '#5e7b4f',
    500: '#1b480a',
    950: '#000000',
  },
}
SCSS
$custom: #1b480a;
$custom-light: #5e7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b480a",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 103.548,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35642,
    "c": 0.10231,
    "h": 138.9
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#1B480A
secondary
#6C2985
accent
#36F2BE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B480A

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

Preview Lab → · Contrast checker → · Palette generator →

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