#1F3606#1F3606

#1F3606 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.077 H 132.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1F3606
RGBrgb(31, 54, 6)
HSLhsl(89, 80%, 12%)
HSVhsv(89, 89%, 21%)
CMYKcmyk(42.6%, 0%, 88.9%, 78.8%)
CIE-LABlab(19.81, -18.26, 25.02)
CIE-LCHlch(19.81, 30.97, 126.13°)
OKLaboklab(30.26% -0.0516 0.057)
OKLCHoklch(30.26% 0.077 132.2)
XYZxyz(1.9171, 2.9427, 0.6392)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3606 #1D0636
analogous
#363506 #1F3606 #073606
triadic
#1F3606 #061F36 #36061F
tetradic
#1F3606 #063635 #1D0636 #360607
square
#1F3606 #063635 #1D0636 #360607
split-complementary
#1F3606 #060736 #350636
monochromatic
#101C03 #101C03 #1F3606 #3F6D0C #5EA412

Accessibility & contrast

On white

13.22
#1F3606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3606
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3606#FFFFFF#000000##FFFFFF
##1F36061.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#362F0A
Tritanopia (blue-blind)
#1F332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f3606;
/* rgb */ color: rgb(31, 54, 6);
/* oklch */ color: oklch(30.3% 0.077 132.2);
Tailwind
colors: {
  custom: {
    50: '#5d6d4a',
    500: '#1f3606',
    950: '#000000',
  },
}
SCSS
$custom: #1f3606;
$custom-light: #5d6d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3606",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 6
  },
  "hsl": {
    "h": 88.75,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.3026,
    "c": 0.07691,
    "h": 132.2
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#1F3606
secondary
#4A2176
accent
#31F690
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3606

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

Preview Lab → · Contrast checker → · Palette generator →

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