#1F3706#1F3706

#1F3706 is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.078 H 132.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1F3706
RGBrgb(31, 55, 6)
HSLhsl(89, 80%, 12%)
HSVhsv(89, 89%, 22%)
CMYKcmyk(43.6%, 0%, 89.1%, 78.4%)
CIE-LABlab(20.19, -18.78, 25.44)
CIE-LCHlch(20.19, 31.63, 126.44°)
OKLaboklab(30.57% -0.053 0.0578)
OKLCHoklch(30.57% 0.078 132.6)
XYZxyz(1.9641, 3.0367, 0.6549)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3706 #1E0637
analogous
#373706 #1F3706 #063706
triadic
#1F3706 #061F37 #37061F
tetradic
#1F3706 #063737 #1E0637 #370606
square
#1F3706 #063737 #1E0637 #370606
split-complementary
#1F3706 #060637 #370637
monochromatic
#101C03 #101C03 #1F3706 #3E6E0C #5DA512

Accessibility & contrast

On white

13.06
#1F3706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1F3706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3706
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3706#FFFFFF#000000##FFFFFF
##1F37061.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#1F342E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f3706;
/* rgb */ color: rgb(31, 55, 6);
/* oklch */ color: oklch(30.6% 0.078 132.6);
Tailwind
colors: {
  custom: {
    50: '#5d6e4a',
    500: '#1f3706',
    950: '#000000',
  },
}
SCSS
$custom: #1f3706;
$custom-light: #5d6e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3706",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 6
  },
  "hsl": {
    "h": 89.388,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30569,
    "c": 0.07841,
    "h": 132.6
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#1F3706
secondary
#4C2177
accent
#31F792
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3706

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

Preview Lab → · Contrast checker → · Palette generator →

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