#1F320D#1F320D

#1F320D is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.1% C 0.064 H 132.2°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#1F320D
RGBrgb(31, 50, 13)
HSLhsl(91, 59%, 12%)
HSVhsv(91, 74%, 20%)
CMYKcmyk(38%, 0%, 74%, 80.4%)
CIE-LABlab(18.37, -15.42, 20.39)
CIE-LCHlch(18.37, 25.56, 127.09°)
OKLaboklab(29.11% -0.0431 0.0476)
OKLCHoklch(29.11% 0.064 132.2)
XYZxyz(1.7783, 2.6015, 0.7891)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F320D #200D32
analogous
#32320D #1F320D #0D320E
triadic
#1F320D #0D1F32 #320D1F
tetradic
#1F320D #0D3232 #200D32 #320E0D
square
#1F320D #0D3232 #200D32 #320E0D
split-complementary
#1F320D #0E0D32 #320D32
monochromatic
#0F1806 #0F1806 #1F320D #3D631A #5B9326

Accessibility & contrast

On white

13.81
#1F320D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1F320D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F320D
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F320D#FFFFFF#000000##FFFFFF
##1F320D1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E09
Deuteranopia (green-blind)
#322C10
Tritanopia (blue-blind)
#1F302A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f320d;
/* rgb */ color: rgb(31, 50, 13);
/* oklch */ color: oklch(29.1% 0.064 132.2);
Tailwind
colors: {
  custom: {
    50: '#5c6a4d',
    500: '#1f320d',
    950: '#000000',
  },
}
SCSS
$custom: #1f320d;
$custom-light: #5c6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f320d",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 13
  },
  "hsl": {
    "h": 90.811,
    "s": 58.73,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29107,
    "c": 0.06422,
    "h": 132.2
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#1F320D
secondary
#4E2E6D
accent
#46E296
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F320D

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

Preview Lab → · Contrast checker → · Palette generator →

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