#1B280C#1B280C

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

Color values

HEX#1B280C
RGBrgb(27, 40, 12)
HSLhsl(88, 54%, 10%)
HSVhsv(88, 70%, 16%)
CMYKcmyk(32.5%, 0%, 70%, 84.3%)
CIE-LABlab(14.27, -11.61, 15.69)
CIE-LCHlch(14.27, 19.52, 126.51°)
OKLaboklab(25.7% -0.0325 0.0386)
OKLCHoklch(25.7% 0.05 130.1)
XYZxyz(1.2771, 1.7771, 0.6235)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B280C #190C28
analogous
#28270C #1B280C #0D280C
triadic
#1B280C #0C1B28 #280C1B
tetradic
#1B280C #0C2827 #190C28 #280C0D
square
#1B280C #0C2827 #190C28 #280C0D
split-complementary
#1B280C #0C0D28 #270C28
monochromatic
#101807 #101807 #1B280C #3B571A #5B8628

Accessibility & contrast

On white

15.49
#1B280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B280C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B280C#FFFFFF#000000##FFFFFF
##1B280C1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b280c;
/* rgb */ color: rgb(27, 40, 12);
/* oklch */ color: oklch(25.7% 0.050 130.1);
Tailwind
colors: {
  custom: {
    50: '#58624c',
    500: '#1b280c',
    950: '#000000',
  },
}
SCSS
$custom: #1b280c;
$custom-light: #58624c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b280c",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 87.857,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25698,
    "c": 0.05046,
    "h": 130.1
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#1B280C
secondary
#462D63
accent
#4BDD8F
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #1B280C

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

Preview Lab → · Contrast checker → · Palette generator →

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