#1F3503#1F3503

#1F3503 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.9% C 0.078 H 131.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1F3503
RGBrgb(31, 53, 3)
HSLhsl(86, 89%, 11%)
HSVhsv(86, 94%, 21%)
CMYKcmyk(41.5%, 0%, 94.3%, 79.2%)
CIE-LABlab(19.41, -18.01, 25.78)
CIE-LCHlch(19.41, 31.45, 124.95°)
OKLaboklab(29.92% -0.0513 0.0589)
OKLCHoklch(29.92% 0.078 131.1)
XYZxyz(1.8546, 2.8440, 0.5374)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3503 #190335
analogous
#353203 #1F3503 #063503
triadic
#1F3503 #031F35 #35031F
tetradic
#1F3503 #033532 #190335 #350306
square
#1F3503 #033532 #190335 #350306
split-complementary
#1F3503 #030635 #320335
monochromatic
#111D02 #111D02 #1F3503 #416F06 #63A90A

Accessibility & contrast

On white

13.39
#1F3503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1F3503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3503
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3503#FFFFFF#000000##FFFFFF
##1F35031.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#352E07
Tritanopia (blue-blind)
#20322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1f3503;
/* rgb */ color: rgb(31, 53, 3);
/* oklch */ color: oklch(29.9% 0.078 131.1);
Tailwind
colors: {
  custom: {
    50: '#5d6c49',
    500: '#1f3503',
    950: '#000000',
  },
}
SCSS
$custom: #1f3503;
$custom-light: #5d6c49;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3503",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 3
  },
  "hsl": {
    "h": 86.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29921,
    "c": 0.07811,
    "h": 131.1
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#1F3503
secondary
#441C78
accent
#29FF87
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3503

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

Preview Lab → · Contrast checker → · Palette generator →

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