#1F370D#1F370D

#1F370D is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.6% C 0.072 H 134.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#1F370D
RGBrgb(31, 55, 13)
HSLhsl(94, 62%, 13%)
HSVhsv(94, 76%, 22%)
CMYKcmyk(43.6%, 0%, 76.4%, 78.4%)
CIE-LABlab(20.25, -18.14, 22.56)
CIE-LCHlch(20.25, 28.94, 128.80°)
OKLaboklab(30.64% -0.0506 0.0519)
OKLCHoklch(30.64% 0.072 134.3)
XYZxyz(2.0039, 3.0526, 0.8643)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F370D #250D37
analogous
#34370D #1F370D #0D3710
triadic
#1F370D #0D1F37 #370D1F
tetradic
#1F370D #0D3437 #250D37 #37100D
square
#1F370D #0D3437 #250D37 #37100D
split-complementary
#1F370D #100D37 #370D34
monochromatic
#0E1906 #0E1906 #1F370D #3B6819 #579A24

Accessibility & contrast

On white

13.04
#1F370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F370D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F370D#FFFFFF#000000##FFFFFF
##1F370D1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393208
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#1F352E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f370d;
/* rgb */ color: rgb(31, 55, 13);
/* oklch */ color: oklch(30.6% 0.072 134.3);
Tailwind
colors: {
  custom: {
    50: '#5d6e4e',
    500: '#1f370d',
    950: '#000000',
  },
}
SCSS
$custom: #1f370d;
$custom-light: #5d6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f370d",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 94.286,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30641,
    "c": 0.07248,
    "h": 134.3
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#1F370D
secondary
#552D72
accent
#43E59F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F370D

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

Preview Lab → · Contrast checker → · Palette generator →

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