#1F3707#1F3707

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

Color values

HEX#1F3707
RGBrgb(31, 55, 7)
HSLhsl(90, 77%, 12%)
HSVhsv(90, 87%, 22%)
CMYKcmyk(43.6%, 0%, 87.3%, 78.4%)
CIE-LABlab(20.20, -18.69, 25.05)
CIE-LCHlch(20.20, 31.25, 126.74°)
OKLaboklab(30.58% -0.0527 0.0569)
OKLCHoklch(30.58% 0.078 132.8)
XYZxyz(1.9696, 3.0389, 0.6838)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3707 #1F0737
analogous
#373707 #1F3707 #073707
triadic
#1F3707 #071F37 #37071F
tetradic
#1F3707 #073737 #1F0737 #370707
square
#1F3707 #073737 #1F0737 #370707
split-complementary
#1F3707 #070737 #370737
monochromatic
#0F1B03 #0F1B03 #1F3707 #3E6D0E #5CA415

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F3707#FFFFFF#000000##FFFFFF
##1F37071.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)
#3A3201
Deuteranopia (green-blind)
#36300C
Tritanopia (blue-blind)
#1F342E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f3707;
/* rgb */ color: rgb(31, 55, 7);
/* oklch */ color: oklch(30.6% 0.078 132.8);
Tailwind
colors: {
  custom: {
    50: '#5d6e4b',
    500: '#1f3707',
    950: '#000000',
  },
}
SCSS
$custom: #1f3707;
$custom-light: #5d6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3707",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 90,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30579,
    "c": 0.07756,
    "h": 132.8
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#1F3707
secondary
#4D2377
accent
#34F494
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3707

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

Preview Lab → · Contrast checker → · Palette generator →

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