#1F320A#1F320A

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

Color values

HEX#1F320A
RGBrgb(31, 50, 10)
HSLhsl(89, 67%, 12%)
HSVhsv(89, 80%, 20%)
CMYKcmyk(38%, 0%, 80%, 80.4%)
CIE-LABlab(18.34, -15.73, 21.68)
CIE-LCHlch(18.34, 26.78, 125.96°)
OKLaboklab(29.07% -0.0443 0.0504)
OKLCHoklch(29.07% 0.067 131.3)
XYZxyz(1.7604, 2.5944, 0.6951)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F320A #1D0A32
analogous
#32310A #1F320A #0B320A
triadic
#1F320A #0A1F32 #320A1F
tetradic
#1F320A #0A3231 #1D0A32 #320A0B
square
#1F320A #0A3231 #1D0A32 #320A0B
split-complementary
#1F320A #0A0B32 #310A32
monochromatic
#101A05 #101A05 #1F320A #3F6514 #5E981E

Accessibility & contrast

On white

13.83
#1F320A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F320A
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F320A#FFFFFF#000000##FFFFFF
##1F320A1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#20302A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f320a;
/* rgb */ color: rgb(31, 50, 10);
/* oklch */ color: oklch(29.1% 0.067 131.3);
Tailwind
colors: {
  custom: {
    50: '#5c6a4c',
    500: '#1f320a',
    950: '#000000',
  },
}
SCSS
$custom: #1f320a;
$custom-light: #5c6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f320a",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 10
  },
  "hsl": {
    "h": 88.5,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29071,
    "c": 0.06709,
    "h": 131.3
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#1F320A
secondary
#4A286F
accent
#3EEA90
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F320A

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

Preview Lab → · Contrast checker → · Palette generator →

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