#1F4409#1F4409

#1F4409 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.095 H 136.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#1F4409
RGBrgb(31, 68, 9)
HSLhsl(98, 77%, 15%)
HSVhsv(98, 87%, 27%)
CMYKcmyk(54.4%, 0%, 86.8%, 73.3%)
CIE-LABlab(25.09, -24.91, 29.31)
CIE-LCHlch(25.09, 38.47, 130.35°)
OKLaboklab(34.6% -0.0693 0.0653)
OKLCHoklch(34.6% 0.095 136.7)
XYZxyz(2.6814, 4.4451, 0.9751)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4409 #2E0944
analogous
#3C4409 #1F4409 #094410
triadic
#1F4409 #091F44 #44091F
tetradic
#1F4409 #093C44 #2E0944 #441009
square
#1F4409 #093C44 #2E0944 #441009
split-complementary
#1F4409 #100944 #44093C
monochromatic
#0C1B04 #0C1B04 #1F4409 #387A10 #50B017

Accessibility & contrast

On white

11.12
#1F4409 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F4409 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4409
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4409#FFFFFF#000000##FFFFFF
##1F44091.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#423A0F
Tritanopia (blue-blind)
#1D4139
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f4409;
/* rgb */ color: rgb(31, 68, 9);
/* oklch */ color: oklch(34.6% 0.095 136.7);
Tailwind
colors: {
  custom: {
    50: '#5f784e',
    500: '#1f4409',
    950: '#000000',
  },
}
SCSS
$custom: #1f4409;
$custom-light: #5f784e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4409",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 9
  },
  "hsl": {
    "h": 97.627,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34596,
    "c": 0.09518,
    "h": 136.7
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#1F4409
secondary
#602782
accent
#35F3AC
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F4409

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

Preview Lab → · Contrast checker → · Palette generator →

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