#1F3204#1F3204

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

Color values

HEX#1F3204
RGBrgb(31, 50, 4)
HSLhsl(85, 85%, 11%)
HSVhsv(85, 92%, 20%)
CMYKcmyk(38%, 0%, 92%, 80.4%)
CIE-LABlab(18.28, -16.30, 24.05)
CIE-LCHlch(18.28, 29.06, 124.13°)
OKLaboklab(29.01% -0.0466 0.0558)
OKLCHoklch(29.01% 0.073 129.8)
XYZxyz(1.7276, 2.5812, 0.5220)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3204 #170432
analogous
#322E04 #1F3204 #083204
triadic
#1F3204 #041F32 #32041F
tetradic
#1F3204 #04322E #170432 #320408
square
#1F3204 #04322E #170432 #320408
split-complementary
#1F3204 #040832 #2E0432
monochromatic
#121C02 #121C02 #1F3204 #426B09 #65A30D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F3204#FFFFFF#000000##FFFFFF
##1F32041.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)
#322C08
Tritanopia (blue-blind)
#202F29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f3204;
/* rgb */ color: rgb(31, 50, 4);
/* oklch */ color: oklch(29.0% 0.073 129.8);
Tailwind
colors: {
  custom: {
    50: '#5c6a49',
    500: '#1f3204',
    950: '#000000',
  },
}
SCSS
$custom: #1f3204;
$custom-light: #5c6a49;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3204",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 84.783,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29005,
    "c": 0.07271,
    "h": 129.8
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#1F3204
secondary
#411D74
accent
#2CFB82
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F3204

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

Preview Lab → · Contrast checker → · Palette generator →

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