#1F3C09#1F3C09

#1F3C09 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.084 H 134.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#1F3C09
RGBrgb(31, 60, 9)
HSLhsl(94, 74%, 14%)
HSVhsv(94, 85%, 24%)
CMYKcmyk(48.3%, 0%, 85%, 76.5%)
CIE-LABlab(22.10, -21.07, 26.30)
CIE-LCHlch(22.10, 33.70, 128.70°)
OKLaboklab(32.14% -0.0589 0.0592)
OKLCHoklch(32.14% 0.084 134.9)
XYZxyz(2.2302, 3.5426, 0.8247)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3C09 #26093C
analogous
#383C09 #1F3C09 #093C0C
triadic
#1F3C09 #091F3C #3C091F
tetradic
#1F3C09 #09383C #26093C #3C0C09
square
#1F3C09 #09383C #26093C #3C0C09
split-complementary
#1F3C09 #0C093C #3C0938
monochromatic
#0E1B04 #0E1B04 #1F3C09 #3A7111 #56A619

Accessibility & contrast

On white

12.29
#1F3C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1F3C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3C09
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3C09#FFFFFF#000000##FFFFFF
##1F3C091.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3602
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#1E3932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f3c09;
/* rgb */ color: rgb(31, 60, 9);
/* oklch */ color: oklch(32.1% 0.084 134.9);
Tailwind
colors: {
  custom: {
    50: '#5e724c',
    500: '#1f3c09',
    950: '#000000',
  },
}
SCSS
$custom: #1f3c09;
$custom-light: #5e724c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3c09",
  "rgb": {
    "r": 31,
    "g": 60,
    "b": 9
  },
  "hsl": {
    "h": 94.118,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.08352,
    "h": 134.9
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#1F3C09
secondary
#56277A
accent
#37F1A1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1F3C09

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

Preview Lab → · Contrast checker → · Palette generator →

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