#1F340E#1F340E

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

Color values

HEX#1F340E
RGBrgb(31, 52, 14)
HSLhsl(93, 58%, 13%)
HSVhsv(93, 73%, 20%)
CMYKcmyk(40.4%, 0%, 73.1%, 79.6%)
CIE-LABlab(19.14, -16.41, 20.79)
CIE-LCHlch(19.14, 26.49, 128.29°)
OKLaboklab(29.73% -0.0458 0.0483)
OKLCHoklch(29.73% 0.067 133.4)
XYZxyz(1.8723, 2.7789, 0.8531)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F340E #230E34
analogous
#32340E #1F340E #0E3410
triadic
#1F340E #0E1F34 #340E1F
tetradic
#1F340E #0E3234 #230E34 #34100E
square
#1F340E #0E3234 #230E34 #34100E
split-complementary
#1F340E #100E34 #340E32
monochromatic
#0E1806 #0E1806 #1F340E #3C641B #589428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F340E#FFFFFF#000000##FFFFFF
##1F340E1.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)
#36300A
Deuteranopia (green-blind)
#332E11
Tritanopia (blue-blind)
#1F322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f340e;
/* rgb */ color: rgb(31, 52, 14);
/* oklch */ color: oklch(29.7% 0.067 133.4);
Tailwind
colors: {
  custom: {
    50: '#5c6b4e',
    500: '#1f340e',
    950: '#000000',
  },
}
SCSS
$custom: #1f340e;
$custom-light: #5c6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f340e",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 93.158,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29733,
    "c": 0.06658,
    "h": 133.4
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#1F340E
secondary
#522F6F
accent
#47E19C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F340E

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

Preview Lab → · Contrast checker → · Palette generator →

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