#1F3203#1F3203

#1F3203 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.0% C 0.074 H 129.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1F3203
RGBrgb(31, 50, 3)
HSLhsl(84, 89%, 10%)
HSVhsv(84, 94%, 20%)
CMYKcmyk(38%, 0%, 94%, 80.4%)
CIE-LABlab(18.27, -16.40, 24.45)
CIE-LCHlch(18.27, 29.44, 123.85°)
OKLaboklab(28.99% -0.047 0.0568)
OKLCHoklch(28.99% 0.074 129.6)
XYZxyz(1.7221, 2.5790, 0.4932)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3203 #160332
analogous
#322D03 #1F3203 #083203
triadic
#1F3203 #031F32 #32031F
tetradic
#1F3203 #03322D #160332 #320308
square
#1F3203 #03322D #160332 #320308
split-complementary
#1F3203 #030832 #2D0332
monochromatic
#121D02 #121D02 #1F3203 #436C06 #67A50A

Accessibility & contrast

On white

13.85
#1F3203 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1F3203 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3203
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3203#FFFFFF#000000##FFFFFF
##1F32031.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#202F29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f3203;
/* rgb */ color: rgb(31, 50, 3);
/* oklch */ color: oklch(29.0% 0.074 129.6);
Tailwind
colors: {
  custom: {
    50: '#5c6a48',
    500: '#1f3203',
    950: '#000000',
  },
}
SCSS
$custom: #1f3203;
$custom-light: #5c6a48;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3203",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 3
  },
  "hsl": {
    "h": 84.255,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28994,
    "c": 0.07369,
    "h": 129.6
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#1F3203
secondary
#401B75
accent
#29FF7F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040601
muted
#797A77

Preview Lab

Preview with #1F3203

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

Preview Lab → · Contrast checker → · Palette generator →

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