#1B480E#1B480E

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

Color values

HEX#1B480E
RGBrgb(27, 72, 14)
HSLhsl(107, 67%, 17%)
HSVhsv(107, 81%, 28%)
CMYKcmyk(62.5%, 0%, 80.6%, 71.8%)
CIE-LABlab(26.45, -27.65, 28.54)
CIE-LCHlch(26.45, 39.73, 134.09°)
OKLaboklab(35.67% -0.076 0.0646)
OKLCHoklch(35.67% 0.1 139.6)
XYZxyz(2.8485, 4.8992, 1.2109)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B480E #3B0E48
analogous
#38480E #1B480E #0E481E
triadic
#1B480E #0E1B48 #480E1B
tetradic
#1B480E #0E3848 #3B0E48 #481E0E
square
#1B480E #0E3848 #3B0E48 #481E0E
split-complementary
#1B480E #1E0E48 #480E38
monochromatic
#0A1A05 #0A1A05 #1B480E #2E7B18 #41AE22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b480e;
/* rgb */ color: rgb(27, 72, 14);
/* oklch */ color: oklch(35.7% 0.100 139.6);
Tailwind
colors: {
  custom: {
    50: '#5e7b51',
    500: '#1b480e',
    950: '#000000',
  },
}
SCSS
$custom: #1b480e;
$custom-light: #5e7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b480e",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 14
  },
  "hsl": {
    "h": 106.552,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35674,
    "c": 0.0997,
    "h": 139.6
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#1B480E
secondary
#702F83
accent
#3DEAC4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B480E

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

Preview Lab → · Contrast checker → · Palette generator →

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