#1B320F#1B320F

#1B320F is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.065 H 136.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#1B320F
RGBrgb(27, 50, 15)
HSLhsl(99, 54%, 13%)
HSVhsv(99, 70%, 20%)
CMYKcmyk(46%, 0%, 70%, 80.4%)
CIE-LABlab(18.14, -16.93, 19.04)
CIE-LCHlch(18.14, 25.48, 131.64°)
OKLaboklab(28.85% -0.0468 0.0448)
OKLCHoklch(28.85% 0.065 136.3)
XYZxyz(1.6788, 2.5486, 0.8553)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B320F #260F32
analogous
#2C320F #1B320F #0F3215
triadic
#1B320F #0F1B32 #320F1B
tetradic
#1B320F #0F2C32 #260F32 #32150F
square
#1B320F #0F2C32 #260F32 #32150F
split-complementary
#1B320F #150F32 #320F2C
monochromatic
#0D1807 #0D1807 #1B320F #34611D #4E902B

Accessibility & contrast

On white

13.91
#1B320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1B320F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B320F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B320F#FFFFFF#000000##FFFFFF
##1B320F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0B
Deuteranopia (green-blind)
#312C12
Tritanopia (blue-blind)
#1A302A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b320f;
/* rgb */ color: rgb(27, 50, 15);
/* oklch */ color: oklch(28.9% 0.065 136.3);
Tailwind
colors: {
  custom: {
    50: '#596a4e',
    500: '#1b320f',
    950: '#000000',
  },
}
SCSS
$custom: #1b320f;
$custom-light: #596a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b320f",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 99.429,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.28854,
    "c": 0.06477,
    "h": 136.3
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#1B320F
secondary
#58316C
accent
#4BDDAB
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1B320F

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

Preview Lab → · Contrast checker → · Palette generator →

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