#1F340D#1F340D

#1F340D is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.7% C 0.068 H 133.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1F340D
RGBrgb(31, 52, 13)
HSLhsl(92, 60%, 13%)
HSVhsv(92, 75%, 20%)
CMYKcmyk(40.4%, 0%, 75%, 79.6%)
CIE-LABlab(19.12, -16.52, 21.27)
CIE-LCHlch(19.12, 26.93, 127.84°)
OKLaboklab(29.72% -0.0462 0.0493)
OKLCHoklch(29.72% 0.068 133.1)
XYZxyz(1.8657, 2.7763, 0.8183)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F340D #220D34
analogous
#32340D #1F340D #0D340F
triadic
#1F340D #0D1F34 #340D1F
tetradic
#1F340D #0D3234 #220D34 #340F0D
square
#1F340D #0D3234 #220D34 #340F0D
split-complementary
#1F340D #0F0D34 #340D32
monochromatic
#0F1806 #0F1806 #1F340D #3C6519 #599625

Accessibility & contrast

On white

13.50
#1F340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1F340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F340D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F340D#FFFFFF#000000##FFFFFF
##1F340D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F08
Deuteranopia (green-blind)
#332E10
Tritanopia (blue-blind)
#1F322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f340d;
/* rgb */ color: rgb(31, 52, 13);
/* oklch */ color: oklch(29.7% 0.068 133.1);
Tailwind
colors: {
  custom: {
    50: '#5c6b4e',
    500: '#1f340d',
    950: '#000000',
  },
}
SCSS
$custom: #1f340d;
$custom-light: #5c6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f340d",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 92.308,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2972,
    "c": 0.06757,
    "h": 133.1
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#1F340D
secondary
#512D6F
accent
#45E39A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F340D

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

Preview Lab → · Contrast checker → · Palette generator →

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