#1F3603#1F3603

#1F3603 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.080 H 131.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1F3603
RGBrgb(31, 54, 3)
HSLhsl(87, 89%, 11%)
HSVhsv(87, 94%, 21%)
CMYKcmyk(42.6%, 0%, 94.4%, 78.8%)
CIE-LABlab(19.79, -18.54, 26.21)
CIE-LCHlch(19.79, 32.10, 125.27°)
OKLaboklab(30.23% -0.0527 0.0596)
OKLCHoklch(30.23% 0.08 131.5)
XYZxyz(1.9007, 2.9361, 0.5527)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3603 #1A0336
analogous
#363303 #1F3603 #053603
triadic
#1F3603 #031F36 #36031F
tetradic
#1F3603 #033633 #1A0336 #360305
square
#1F3603 #033633 #1A0336 #360305
split-complementary
#1F3603 #030536 #330336
monochromatic
#111D02 #111D02 #1F3603 #407006 #62AA09

Accessibility & contrast

On white

13.23
#1F3603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F3603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3603
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3603#FFFFFF#000000##FFFFFF
##1F36031.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#362F08
Tritanopia (blue-blind)
#20332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f3603;
/* rgb */ color: rgb(31, 54, 3);
/* oklch */ color: oklch(30.2% 0.080 131.5);
Tailwind
colors: {
  custom: {
    50: '#5d6d49',
    500: '#1f3603',
    950: '#000000',
  },
}
SCSS
$custom: #1f3603;
$custom-light: #5d6d49;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3603",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 3
  },
  "hsl": {
    "h": 87.059,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.3023,
    "c": 0.07957,
    "h": 131.5
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#1F3603
secondary
#461C79
accent
#29FF89
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3603

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

Preview Lab → · Contrast checker → · Palette generator →

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