#1F3607#1F3607

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

Color values

HEX#1F3607
RGBrgb(31, 54, 7)
HSLhsl(89, 77%, 12%)
HSVhsv(89, 87%, 21%)
CMYKcmyk(42.6%, 0%, 87%, 78.8%)
CIE-LABlab(19.82, -18.17, 24.62)
CIE-LCHlch(19.82, 30.60, 126.43°)
OKLaboklab(30.27% -0.0513 0.0562)
OKLCHoklch(30.27% 0.076 132.4)
XYZxyz(1.9226, 2.9449, 0.6681)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3607 #1E0736
analogous
#363607 #1F3607 #073607
triadic
#1F3607 #071F36 #36071F
tetradic
#1F3607 #073636 #1E0736 #360707
square
#1F3607 #073636 #1E0736 #360707
split-complementary
#1F3607 #070736 #360736
monochromatic
#101B04 #101B04 #1F3607 #3E6C0E #5DA215

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F3607#FFFFFF#000000##FFFFFF
##1F36071.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)
#393101
Deuteranopia (green-blind)
#362F0B
Tritanopia (blue-blind)
#1F332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f3607;
/* rgb */ color: rgb(31, 54, 7);
/* oklch */ color: oklch(30.3% 0.076 132.4);
Tailwind
colors: {
  custom: {
    50: '#5d6d4b',
    500: '#1f3607',
    950: '#000000',
  },
}
SCSS
$custom: #1f3607;
$custom-light: #5d6d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3607",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 7
  },
  "hsl": {
    "h": 89.362,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30271,
    "c": 0.07604,
    "h": 132.4
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#1F3607
secondary
#4C2376
accent
#34F492
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3607

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

Preview Lab → · Contrast checker → · Palette generator →

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