#1F3705#1F3705

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

Color values

HEX#1F3705
RGBrgb(31, 55, 5)
HSLhsl(89, 83%, 12%)
HSVhsv(89, 91%, 22%)
CMYKcmyk(43.6%, 0%, 90.9%, 78.4%)
CIE-LABlab(20.18, -18.88, 25.84)
CIE-LCHlch(20.18, 32.00, 126.15°)
OKLaboklab(30.56% -0.0534 0.0586)
OKLCHoklch(30.56% 0.079 132.3)
XYZxyz(1.9586, 3.0346, 0.6261)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3705 #1D0537
analogous
#373605 #1F3705 #063705
triadic
#1F3705 #051F37 #37051F
tetradic
#1F3705 #053736 #1D0537 #370506
square
#1F3705 #053736 #1D0537 #370506
split-complementary
#1F3705 #050637 #360537
monochromatic
#101C03 #101C03 #1F3705 #3F6F0A #5EA70F

Accessibility & contrast

On white

13.07
#1F3705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3705
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3705#FFFFFF#000000##FFFFFF
##1F37051.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f3705;
/* rgb */ color: rgb(31, 55, 5);
/* oklch */ color: oklch(30.6% 0.079 132.3);
Tailwind
colors: {
  custom: {
    50: '#5d6e4a',
    500: '#1f3705',
    950: '#000000',
  },
}
SCSS
$custom: #1f3705;
$custom-light: #5d6e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3705",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 5
  },
  "hsl": {
    "h": 88.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30559,
    "c": 0.07927,
    "h": 132.3
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#1F3705
secondary
#4A2078
accent
#2EFA90
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3705

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

Preview Lab → · Contrast checker → · Palette generator →

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