#1F3E09#1F3E09

#1F3E09 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.8% C 0.086 H 135.4°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1F3E09
RGBrgb(31, 62, 9)
HSLhsl(95, 75%, 14%)
HSVhsv(95, 85%, 24%)
CMYKcmyk(50%, 0%, 85.5%, 75.7%)
CIE-LABlab(22.85, -22.06, 27.09)
CIE-LCHlch(22.85, 34.93, 129.15°)
OKLaboklab(32.75% -0.0616 0.0608)
OKLCHoklch(32.75% 0.087 135.4)
XYZxyz(2.3370, 3.7561, 0.8603)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3E09 #28093E
analogous
#3A3E09 #1F3E09 #093E0E
triadic
#1F3E09 #091F3E #3E091F
tetradic
#1F3E09 #093A3E #28093E #3E0E09
square
#1F3E09 #093A3E #28093E #3E0E09
split-complementary
#1F3E09 #0E093E #3E093A
monochromatic
#0D1B04 #0D1B04 #1F3E09 #3A7311 #54A919

Accessibility & contrast

On white

11.99
#1F3E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1F3E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3E09
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3E09#FFFFFF#000000##FFFFFF
##1F3E091.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413802
Deuteranopia (green-blind)
#3C360E
Tritanopia (blue-blind)
#1E3B34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f3e09;
/* rgb */ color: rgb(31, 62, 9);
/* oklch */ color: oklch(32.8% 0.086 135.4);
Tailwind
colors: {
  custom: {
    50: '#5e734d',
    500: '#1f3e09',
    950: '#000000',
  },
}
SCSS
$custom: #1f3e09;
$custom-light: #5e734d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3e09",
  "rgb": {
    "r": 31,
    "g": 62,
    "b": 9
  },
  "hsl": {
    "h": 95.094,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32753,
    "c": 0.0865,
    "h": 135.4
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#1F3E09
secondary
#59277C
accent
#37F1A4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3E09

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

Preview Lab → · Contrast checker → · Palette generator →

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