#1F320E#1F320E

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

Color values

HEX#1F320E
RGBrgb(31, 50, 14)
HSLhsl(92, 56%, 13%)
HSVhsv(92, 72%, 20%)
CMYKcmyk(38%, 0%, 72%, 80.4%)
CIE-LABlab(18.38, -15.30, 19.91)
CIE-LCHlch(18.38, 25.11, 127.55°)
OKLaboklab(29.12% -0.0427 0.0466)
OKLCHoklch(29.12% 0.063 132.6)
XYZxyz(1.7849, 2.6042, 0.8240)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F320E #210E32
analogous
#31320E #1F320E #0E320F
triadic
#1F320E #0E1F32 #320E1F
tetradic
#1F320E #0E3132 #210E32 #320F0E
square
#1F320E #0E3132 #210E32 #320F0E
split-complementary
#1F320E #0F0E32 #320E31
monochromatic
#0F1807 #0F1807 #1F320E #3D621B #5A9229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F320E#FFFFFF#000000##FFFFFF
##1F320E1.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)
#342E0A
Deuteranopia (green-blind)
#322C11
Tritanopia (blue-blind)
#1F302A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f320e;
/* rgb */ color: rgb(31, 50, 14);
/* oklch */ color: oklch(29.1% 0.063 132.6);
Tailwind
colors: {
  custom: {
    50: '#5c6a4e',
    500: '#1f320e',
    950: '#000000',
  },
}
SCSS
$custom: #1f320e;
$custom-light: #5c6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f320e",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 14
  },
  "hsl": {
    "h": 91.667,
    "s": 56.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2912,
    "c": 0.0632,
    "h": 132.6
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#1F320E
secondary
#502F6D
accent
#48E098
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F320E

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

Preview Lab → · Contrast checker → · Palette generator →

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