#1D320C#1D320C

#1D320C is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 28.9% C 0.067 H 133.6°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1D320C
RGBrgb(29, 50, 12)
HSLhsl(93, 61%, 12%)
HSVhsv(93, 76%, 20%)
CMYKcmyk(42%, 0%, 76%, 80.4%)
CIE-LABlab(18.23, -16.42, 20.65)
CIE-LCHlch(18.23, 26.39, 128.50°)
OKLaboklab(28.95% -0.0459 0.0482)
OKLCHoklch(28.95% 0.067 133.6)
XYZxyz(1.7136, 2.5689, 0.7533)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D320C #210C32
analogous
#30320C #1D320C #0C320E
triadic
#1D320C #0C1D32 #320C1D
tetradic
#1D320C #0C3032 #210C32 #320E0C
square
#1D320C #0C3032 #210C32 #320E0C
split-complementary
#1D320C #0E0C32 #320C30
monochromatic
#0E1906 #0E1906 #1D320C #3A6318 #569524

Accessibility & contrast

On white

13.87
#1D320C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D320C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D320C#FFFFFF#000000##FFFFFF
##1D320C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E08
Deuteranopia (green-blind)
#312C0F
Tritanopia (blue-blind)
#1D302A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d320c;
/* rgb */ color: rgb(29, 50, 12);
/* oklch */ color: oklch(28.9% 0.067 133.6);
Tailwind
colors: {
  custom: {
    50: '#5b6a4d',
    500: '#1d320c',
    950: '#000000',
  },
}
SCSS
$custom: #1d320c;
$custom-light: #5b6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d320c",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 12
  },
  "hsl": {
    "h": 93.158,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2895,
    "c": 0.06652,
    "h": 133.6
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#1D320C
secondary
#502C6E
accent
#43E49C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D320C

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

Preview Lab → · Contrast checker → · Palette generator →

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