#1F3202#1F3202

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

Color values

HEX#1F3202
RGBrgb(31, 50, 2)
HSLhsl(84, 92%, 10%)
HSVhsv(84, 96%, 20%)
CMYKcmyk(38%, 0%, 96%, 80.4%)
CIE-LABlab(18.26, -16.50, 24.84)
CIE-LCHlch(18.26, 29.82, 123.59°)
OKLaboklab(28.98% -0.0474 0.0577)
OKLCHoklch(28.98% 0.075 129.4)
XYZxyz(1.7166, 2.5768, 0.4644)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3202 #150232
analogous
#322D02 #1F3202 #073202
triadic
#1F3202 #021F32 #32021F
tetradic
#1F3202 #02322D #150232 #320207
square
#1F3202 #02322D #150232 #320207
split-complementary
#1F3202 #020732 #2D0232
monochromatic
#121D01 #121D01 #1F3202 #436D04 #68A807

Accessibility & contrast

On white

13.86
#1F3202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3202
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3202#FFFFFF#000000##FFFFFF
##1F32021.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f3202;
/* rgb */ color: rgb(31, 50, 2);
/* oklch */ color: oklch(29.0% 0.075 129.4);
Tailwind
colors: {
  custom: {
    50: '#5d6a48',
    500: '#1f3202',
    950: '#000000',
  },
}
SCSS
$custom: #1f3202;
$custom-light: #5d6a48;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3202",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 83.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28983,
    "c": 0.0747,
    "h": 129.4
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#1F3202
secondary
#3E1976
accent
#29FF7E
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1F3202

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

Preview Lab → · Contrast checker → · Palette generator →

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