#1F350B#1F350B

#1F350B is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.0% C 0.071 H 133.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#1F350B
RGBrgb(31, 53, 11)
HSLhsl(91, 66%, 13%)
HSVhsv(91, 79%, 21%)
CMYKcmyk(41.5%, 0%, 79.2%, 79.2%)
CIE-LABlab(19.48, -17.27, 22.59)
CIE-LCHlch(19.48, 28.43, 127.40°)
OKLaboklab(30% -0.0484 0.052)
OKLCHoklch(30% 0.071 133)
XYZxyz(1.8986, 2.8616, 0.7689)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F350B #210B35
analogous
#34350B #1F350B #0B350C
triadic
#1F350B #0B1F35 #350B1F
tetradic
#1F350B #0B3435 #210B35 #350C0B
square
#1F350B #0B3435 #210B35 #350C0B
split-complementary
#1F350B #0C0B35 #350B34
monochromatic
#0F1905 #0F1905 #1F350B #3D6816 #5A9A20

Accessibility & contrast

On white

13.36
#1F350B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1F350B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F350B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F350B#FFFFFF#000000##FFFFFF
##1F350B1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383006
Deuteranopia (green-blind)
#342F0F
Tritanopia (blue-blind)
#1F332C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1f350b;
/* rgb */ color: rgb(31, 53, 11);
/* oklch */ color: oklch(30.0% 0.071 133.0);
Tailwind
colors: {
  custom: {
    50: '#5d6c4d',
    500: '#1f350b',
    950: '#000000',
  },
}
SCSS
$custom: #1f350b;
$custom-light: #5d6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f350b",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 11
  },
  "hsl": {
    "h": 91.429,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30004,
    "c": 0.07105,
    "h": 133
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#1F350B
secondary
#502A72
accent
#3FE998
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F350B

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

Preview Lab → · Contrast checker → · Palette generator →

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