#1F4309#1F4309

#1F4309 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.094 H 136.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1F4309
RGBrgb(31, 67, 9)
HSLhsl(97, 76%, 15%)
HSVhsv(97, 87%, 26%)
CMYKcmyk(53.7%, 0%, 86.6%, 73.7%)
CIE-LABlab(24.72, -24.44, 28.96)
CIE-LCHlch(24.72, 37.89, 130.17°)
OKLaboklab(34.29% -0.068 0.0645)
OKLCHoklch(34.29% 0.094 136.5)
XYZxyz(2.6215, 4.3252, 0.9551)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4309 #2D0943
analogous
#3C4309 #1F4309 #094310
triadic
#1F4309 #091F43 #43091F
tetradic
#1F4309 #093C43 #2D0943 #431009
square
#1F4309 #093C43 #2D0943 #431009
split-complementary
#1F4309 #100943 #43093C
monochromatic
#0C1B04 #0C1B04 #1F4309 #387910 #51AF17

Accessibility & contrast

On white

11.26
#1F4309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1F4309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4309
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4309#FFFFFF#000000##FFFFFF
##1F43091.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#1D4038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f4309;
/* rgb */ color: rgb(31, 67, 9);
/* oklch */ color: oklch(34.3% 0.094 136.5);
Tailwind
colors: {
  custom: {
    50: '#5f774d',
    500: '#1f4309',
    950: '#000000',
  },
}
SCSS
$custom: #1f4309;
$custom-light: #5f774d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4309",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 9
  },
  "hsl": {
    "h": 97.241,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34289,
    "c": 0.09375,
    "h": 136.5
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#1F4309
secondary
#5F2781
accent
#35F3AB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050901
muted
#797B77

Preview Lab

Preview with #1F4309

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

Preview Lab → · Contrast checker → · Palette generator →

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