#1F3605#1F3605

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

Color values

HEX#1F3605
RGBrgb(31, 54, 5)
HSLhsl(88, 83%, 12%)
HSVhsv(88, 91%, 21%)
CMYKcmyk(42.6%, 0%, 90.7%, 78.8%)
CIE-LABlab(19.80, -18.35, 25.41)
CIE-LCHlch(19.80, 31.35, 125.84°)
OKLaboklab(30.25% -0.052 0.0579)
OKLCHoklch(30.25% 0.078 131.9)
XYZxyz(1.9116, 2.9405, 0.6104)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3605 #1C0536
analogous
#363505 #1F3605 #073605
triadic
#1F3605 #051F36 #36051F
tetradic
#1F3605 #053635 #1C0536 #360507
square
#1F3605 #053635 #1C0536 #360507
split-complementary
#1F3605 #050736 #350536
monochromatic
#101C03 #101C03 #1F3605 #3F6E0A #5FA60F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F3605#FFFFFF#000000##FFFFFF
##1F36051.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)
#20332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f3605;
/* rgb */ color: rgb(31, 54, 5);
/* oklch */ color: oklch(30.3% 0.078 131.9);
Tailwind
colors: {
  custom: {
    50: '#5d6d4a',
    500: '#1f3605',
    950: '#000000',
  },
}
SCSS
$custom: #1f3605;
$custom-light: #5d6d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3605",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 5
  },
  "hsl": {
    "h": 88.163,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.3025,
    "c": 0.07778,
    "h": 131.9
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#1F3605
secondary
#492077
accent
#2EF98E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3605

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

Preview Lab → · Contrast checker → · Palette generator →

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