#1B320B#1B320B

#1B320B is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.069 H 134.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1B320B
RGBrgb(27, 50, 11)
HSLhsl(95, 64%, 12%)
HSVhsv(95, 78%, 20%)
CMYKcmyk(46%, 0%, 78%, 80.4%)
CIE-LABlab(18.09, -17.40, 20.90)
CIE-LCHlch(18.09, 27.20, 129.78°)
OKLaboklab(28.8% -0.0485 0.0488)
OKLCHoklch(28.8% 0.069 134.8)
XYZxyz(1.6530, 2.5383, 0.7194)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B320B #220B32
analogous
#2F320B #1B320B #0B320F
triadic
#1B320B #0B1B32 #320B1B
tetradic
#1B320B #0B2F32 #220B32 #320F0B
square
#1B320B #0B2F32 #220B32 #320F0B
split-complementary
#1B320B #0F0B32 #320B2F
monochromatic
#0E1906 #0E1906 #1B320B #366416 #519621

Accessibility & contrast

On white

13.93
#1B320B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B320B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B320B#FFFFFF#000000##FFFFFF
##1B320B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D06
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#1B302A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b320b;
/* rgb */ color: rgb(27, 50, 11);
/* oklch */ color: oklch(28.8% 0.069 134.8);
Tailwind
colors: {
  custom: {
    50: '#596a4c',
    500: '#1b320b',
    950: '#000000',
  },
}
SCSS
$custom: #1b320b;
$custom-light: #596a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b320b",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 11
  },
  "hsl": {
    "h": 95.385,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28802,
    "c": 0.06877,
    "h": 134.8
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#1B320B
secondary
#532A6F
accent
#41E7A3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1B320B

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

Preview Lab → · Contrast checker → · Palette generator →

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