#1F3406#1F3406

#1F3406 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.6% C 0.074 H 131.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1F3406
RGBrgb(31, 52, 6)
HSLhsl(87, 79%, 11%)
HSVhsv(87, 88%, 20%)
CMYKcmyk(40.4%, 0%, 88.5%, 79.6%)
CIE-LABlab(19.06, -17.20, 24.15)
CIE-LCHlch(19.06, 29.65, 125.46°)
OKLaboklab(29.64% -0.0487 0.0555)
OKLCHoklch(29.64% 0.074 131.3)
XYZxyz(1.8259, 2.7604, 0.6089)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3406 #1B0634
analogous
#343206 #1F3406 #083406
triadic
#1F3406 #061F34 #34061F
tetradic
#1F3406 #063432 #1B0634 #340608
square
#1F3406 #063432 #1B0634 #340608
split-complementary
#1F3406 #060834 #320634
monochromatic
#101B03 #101B03 #1F3406 #406B0C #60A213

Accessibility & contrast

On white

13.53
#1F3406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1F3406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3406
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3406#FFFFFF#000000##FFFFFF
##1F34061.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F01
Deuteranopia (green-blind)
#342E0A
Tritanopia (blue-blind)
#20312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f3406;
/* rgb */ color: rgb(31, 52, 6);
/* oklch */ color: oklch(29.6% 0.074 131.3);
Tailwind
colors: {
  custom: {
    50: '#5d6b4a',
    500: '#1f3406',
    950: '#000000',
  },
}
SCSS
$custom: #1f3406;
$custom-light: #5d6b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3406",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 6
  },
  "hsl": {
    "h": 87.391,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29644,
    "c": 0.07386,
    "h": 131.3
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#1F3406
secondary
#472174
accent
#32F68B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F3406

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

Preview Lab → · Contrast checker → · Palette generator →

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