#1F3F09#1F3F09

#1F3F09 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.1% C 0.088 H 135.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1F3F09
RGBrgb(31, 63, 9)
HSLhsl(96, 75%, 14%)
HSVhsv(96, 86%, 25%)
CMYKcmyk(50.8%, 0%, 85.7%, 75.3%)
CIE-LABlab(23.22, -22.54, 27.47)
CIE-LCHlch(23.22, 35.54, 129.37°)
OKLaboklab(33.06% -0.0629 0.0615)
OKLCHoklch(33.06% 0.088 135.6)
XYZxyz(2.3918, 3.8659, 0.8786)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3F09 #29093F
analogous
#3A3F09 #1F3F09 #093F0E
triadic
#1F3F09 #091F3F #3F091F
tetradic
#1F3F09 #093A3F #29093F #3F0E09
square
#1F3F09 #093A3F #29093F #3F0E09
split-complementary
#1F3F09 #0E093F #3F093A
monochromatic
#0D1B04 #0D1B04 #1F3F09 #397511 #54AA18

Accessibility & contrast

On white

11.84
#1F3F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1F3F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3F09
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3F09#FFFFFF#000000##FFFFFF
##1F3F091.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423901
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#1E3C35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f3f09;
/* rgb */ color: rgb(31, 63, 9);
/* oklch */ color: oklch(33.1% 0.088 135.6);
Tailwind
colors: {
  custom: {
    50: '#5e744d',
    500: '#1f3f09',
    950: '#000000',
  },
}
SCSS
$custom: #1f3f09;
$custom-light: #5e744d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3f09",
  "rgb": {
    "r": 31,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 95.556,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33061,
    "c": 0.08797,
    "h": 135.6
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#1F3F09
secondary
#5A277D
accent
#36F2A5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3F09

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

Preview Lab → · Contrast checker → · Palette generator →

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