#1F320F#1F320F

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

Color values

HEX#1F320F
RGBrgb(31, 50, 15)
HSLhsl(93, 54%, 13%)
HSVhsv(93, 70%, 20%)
CMYKcmyk(38%, 0%, 70%, 80.4%)
CIE-LABlab(18.40, -15.18, 19.41)
CIE-LCHlch(18.40, 24.64, 128.03°)
OKLaboklab(29.13% -0.0423 0.0455)
OKLCHoklch(29.13% 0.062 132.9)
XYZxyz(1.7919, 2.6069, 0.8606)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F320F #220F32
analogous
#30320F #1F320F #0F3210
triadic
#1F320F #0F1F32 #320F1F
tetradic
#1F320F #0F3032 #220F32 #32100F
square
#1F320F #0F3032 #220F32 #32100F
split-complementary
#1F320F #100F32 #320F30
monochromatic
#0F1807 #0F1807 #1F320F #3C611D #59902B

Accessibility & contrast

On white

13.80
#1F320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F320F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F320F#FFFFFF#000000##FFFFFF
##1F320F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f320f;
/* rgb */ color: rgb(31, 50, 15);
/* oklch */ color: oklch(29.1% 0.062 132.9);
Tailwind
colors: {
  custom: {
    50: '#5c6a4f',
    500: '#1f320f',
    950: '#000000',
  },
}
SCSS
$custom: #1f320f;
$custom-light: #5c6a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f320f",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 92.571,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29134,
    "c": 0.06213,
    "h": 132.9
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#1F320F
secondary
#51316C
accent
#4BDD9A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1F320F

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

Preview Lab → · Contrast checker → · Palette generator →

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