#1F320C#1F320C

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

Color values

HEX#1F320C
RGBrgb(31, 50, 12)
HSLhsl(90, 61%, 12%)
HSVhsv(90, 76%, 20%)
CMYKcmyk(38%, 0%, 76%, 80.4%)
CIE-LABlab(18.36, -15.53, 20.84)
CIE-LCHlch(18.36, 25.99, 126.68°)
OKLaboklab(29.09% -0.0435 0.0485)
OKLCHoklch(29.09% 0.065 131.9)
XYZxyz(1.7720, 2.5990, 0.7560)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F320C #1F0C32
analogous
#32320C #1F320C #0C320C
triadic
#1F320C #0C1F32 #320C1F
tetradic
#1F320C #0C3232 #1F0C32 #320C0C
square
#1F320C #0C3232 #1F0C32 #320C0C
split-complementary
#1F320C #0C0C32 #320C32
monochromatic
#0F1906 #0F1906 #1F320C #3E6318 #5C9524

Accessibility & contrast

On white

13.82
#1F320C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F320C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F320C#FFFFFF#000000##FFFFFF
##1F320C1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E08
Deuteranopia (green-blind)
#322C0F
Tritanopia (blue-blind)
#20302A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f320c;
/* rgb */ color: rgb(31, 50, 12);
/* oklch */ color: oklch(29.1% 0.065 131.9);
Tailwind
colors: {
  custom: {
    50: '#5c6a4d',
    500: '#1f320c',
    950: '#000000',
  },
}
SCSS
$custom: #1f320c;
$custom-light: #5c6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f320c",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 12
  },
  "hsl": {
    "h": 90,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29094,
    "c": 0.06521,
    "h": 131.9
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#1F320C
secondary
#4D2C6E
accent
#43E494
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F320C

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

Preview Lab → · Contrast checker → · Palette generator →

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