#1F3D09#1F3D09

#1F3D09 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.085 H 135.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1F3D09
RGBrgb(31, 61, 9)
HSLhsl(95, 74%, 14%)
HSVhsv(95, 85%, 24%)
CMYKcmyk(49.2%, 0%, 85.2%, 76.1%)
CIE-LABlab(22.47, -21.57, 26.70)
CIE-LCHlch(22.47, 34.32, 128.93°)
OKLaboklab(32.45% -0.0603 0.06)
OKLCHoklch(32.45% 0.085 135.1)
XYZxyz(2.2831, 3.6484, 0.8423)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3D09 #27093D
analogous
#393D09 #1F3D09 #093D0D
triadic
#1F3D09 #091F3D #3D091F
tetradic
#1F3D09 #09393D #27093D #3D0D09
square
#1F3D09 #09393D #27093D #3D0D09
split-complementary
#1F3D09 #0D093D #3D0939
monochromatic
#0E1B04 #0E1B04 #1F3D09 #3A7211 #55A819

Accessibility & contrast

On white

12.14
#1F3D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1F3D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3D09
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3D09#FFFFFF#000000##FFFFFF
##1F3D091.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403702
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#1E3A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f3d09;
/* rgb */ color: rgb(31, 61, 9);
/* oklch */ color: oklch(32.4% 0.085 135.1);
Tailwind
colors: {
  custom: {
    50: '#5e734c',
    500: '#1f3d09',
    950: '#000000',
  },
}
SCSS
$custom: #1f3d09;
$custom-light: #5e734c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3d09",
  "rgb": {
    "r": 31,
    "g": 61,
    "b": 9
  },
  "hsl": {
    "h": 94.615,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32446,
    "c": 0.08502,
    "h": 135.1
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#1F3D09
secondary
#57277B
accent
#37F1A2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3D09

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

Preview Lab → · Contrast checker → · Palette generator →

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