#1B480C#1B480C

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

Color values

HEX#1B480C
RGBrgb(27, 72, 12)
HSLhsl(105, 71%, 16%)
HSVhsv(105, 83%, 28%)
CMYKcmyk(62.5%, 0%, 83.3%, 71.8%)
CIE-LABlab(26.43, -27.82, 29.36)
CIE-LCHlch(26.43, 40.45, 133.45°)
OKLaboklab(35.66% -0.0766 0.066)
OKLCHoklch(35.66% 0.101 139.3)
XYZxyz(2.8356, 4.8940, 1.1430)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B480C #390C48
analogous
#39480C #1B480C #0C481B
triadic
#1B480C #0C1B48 #480C1B
tetradic
#1B480C #0C3948 #390C48 #481B0C
square
#1B480C #0C3948 #390C48 #481B0C
split-complementary
#1B480C #1B0C48 #480C39
monochromatic
#0A1A04 #0A1A04 #1B480C #2F7C15 #42B11D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B480C#FFFFFF#000000##FFFFFF
##1B480C1.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)
#4A4102
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#16453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b480c;
/* rgb */ color: rgb(27, 72, 12);
/* oklch */ color: oklch(35.7% 0.101 139.3);
Tailwind
colors: {
  custom: {
    50: '#5e7b50',
    500: '#1b480c',
    950: '#000000',
  },
}
SCSS
$custom: #1b480c;
$custom-light: #5e7b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1b480c",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 105,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.10106,
    "h": 139.3
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#1B480C
secondary
#6E2C84
accent
#3AEEC1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B480C

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

Preview Lab → · Contrast checker → · Palette generator →

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