#1F3604#1F3604

#1F3604 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.079 H 131.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1F3604
RGBrgb(31, 54, 4)
HSLhsl(88, 86%, 11%)
HSVhsv(88, 93%, 21%)
CMYKcmyk(42.6%, 0%, 92.6%, 78.8%)
CIE-LABlab(19.80, -18.45, 25.81)
CIE-LCHlch(19.80, 31.72, 125.55°)
OKLaboklab(30.24% -0.0524 0.0587)
OKLCHoklch(30.24% 0.079 131.7)
XYZxyz(1.9061, 2.9383, 0.5816)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3604 #1B0436
analogous
#363404 #1F3604 #063604
triadic
#1F3604 #041F36 #36041F
tetradic
#1F3604 #043634 #1B0436 #360406
square
#1F3604 #043634 #1B0436 #360406
split-complementary
#1F3604 #040636 #340436
monochromatic
#101C02 #101C02 #1F3604 #406F08 #60A80C

Accessibility & contrast

On white

13.23
#1F3604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F3604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3604
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3604#FFFFFF#000000##FFFFFF
##1F36041.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#20332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f3604;
/* rgb */ color: rgb(31, 54, 4);
/* oklch */ color: oklch(30.2% 0.079 131.7);
Tailwind
colors: {
  custom: {
    50: '#5d6d49',
    500: '#1f3604',
    950: '#000000',
  },
}
SCSS
$custom: #1f3604;
$custom-light: #5d6d49;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3604",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 4
  },
  "hsl": {
    "h": 87.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.3024,
    "c": 0.07867,
    "h": 131.7
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#1F3604
secondary
#471E78
accent
#2BFC8C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3604

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

Preview Lab → · Contrast checker → · Palette generator →

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