#1F3A09#1F3A09

#1F3A09 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.081 H 134.3°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1F3A09
RGBrgb(31, 58, 9)
HSLhsl(93, 73%, 13%)
HSVhsv(93, 84%, 23%)
CMYKcmyk(46.6%, 0%, 84.5%, 77.3%)
CIE-LABlab(21.35, -20.06, 25.50)
CIE-LCHlch(21.35, 32.45, 128.20°)
OKLaboklab(31.52% -0.0562 0.0577)
OKLCHoklch(31.52% 0.081 134.3)
XYZxyz(2.1274, 3.3370, 0.7904)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3A09 #24093A
analogous
#373A09 #1F3A09 #093A0B
triadic
#1F3A09 #091F3A #3A091F
tetradic
#1F3A09 #09373A #24093A #3A0B09
square
#1F3A09 #09373A #24093A #3A0B09
split-complementary
#1F3A09 #0B093A #3A0937
monochromatic
#0E1A04 #0E1A04 #1F3A09 #3B6F11 #58A419

Accessibility & contrast

On white

12.59
#1F3A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1F3A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3A09
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3A09#FFFFFF#000000##FFFFFF
##1F3A091.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3503
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#1F3731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1f3a09;
/* rgb */ color: rgb(31, 58, 9);
/* oklch */ color: oklch(31.5% 0.081 134.3);
Tailwind
colors: {
  custom: {
    50: '#5e704c',
    500: '#1f3a09',
    950: '#000000',
  },
}
SCSS
$custom: #1f3a09;
$custom-light: #5e704c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3a09",
  "rgb": {
    "r": 31,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 93.061,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31522,
    "c": 0.08051,
    "h": 134.3
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#1F3A09
secondary
#542778
accent
#38F09D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3A09

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

Preview Lab → · Contrast checker → · Palette generator →

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