#1B280B#1B280B

#1B280B is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 25.7% C 0.052 H 129.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#1B280B
RGBrgb(27, 40, 11)
HSLhsl(87, 57%, 10%)
HSVhsv(87, 73%, 16%)
CMYKcmyk(32.5%, 0%, 72.5%, 84.3%)
CIE-LABlab(14.26, -11.74, 16.11)
CIE-LCHlch(14.26, 19.93, 126.07°)
OKLaboklab(25.68% -0.0329 0.0398)
OKLCHoklch(25.68% 0.052 129.6)
XYZxyz(1.2712, 1.7747, 0.5921)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B280B #180B28
analogous
#28270B #1B280B #0C280B
triadic
#1B280B #0B1B28 #280B1B
tetradic
#1B280B #0B2827 #180B28 #280B0C
square
#1B280B #0B2827 #180B28 #280B0C
split-complementary
#1B280B #0B0C28 #270B28
monochromatic
#101807 #101807 #1B280B #3B5818 #5C8825

Accessibility & contrast

On white

15.50
#1B280B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1B280B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B280B
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B280B#FFFFFF#000000##FFFFFF
##1B280B1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2508
Deuteranopia (green-blind)
#28240D
Tritanopia (blue-blind)
#1C2622
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b280b;
/* rgb */ color: rgb(27, 40, 11);
/* oklch */ color: oklch(25.7% 0.052 129.6);
Tailwind
colors: {
  custom: {
    50: '#58624c',
    500: '#1b280b',
    950: '#000000',
  },
}
SCSS
$custom: #1b280b;
$custom-light: #58624c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b280b",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 86.897,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.25682,
    "c": 0.05162,
    "h": 129.6
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#1B280B
secondary
#442B64
accent
#48E08C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #1B280B

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

Preview Lab → · Contrast checker → · Palette generator →

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