#1F2D0D#1F2D0D

#1F2D0D is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.056 H 129.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#1F2D0D
RGBrgb(31, 45, 13)
HSLhsl(86, 55%, 11%)
HSVhsv(86, 71%, 18%)
CMYKcmyk(31.1%, 0%, 71.1%, 82.4%)
CIE-LABlab(16.49, -12.54, 18.11)
CIE-LCHlch(16.49, 22.02, 124.70°)
OKLaboklab(27.58% -0.0352 0.0431)
OKLCHoklch(27.58% 0.056 129.3)
XYZxyz(1.5761, 2.1971, 0.7217)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D0D #1B0D2D
analogous
#2D2B0D #1F2D0D #0F2D0D
triadic
#1F2D0D #0D1F2D #2D0D1F
tetradic
#1F2D0D #0D2D2B #1B0D2D #2D0D0F
square
#1F2D0D #0D2D2B #1B0D2D #2D0D0F
split-complementary
#1F2D0D #0D0F2D #2B0D2D
monochromatic
#101807 #101807 #1F2D0D #405C1B #608C28

Accessibility & contrast

On white

14.59
#1F2D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1F2D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2D0D
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D0D#FFFFFF#000000##FFFFFF
##1F2D0D1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290A
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#202B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2d0d;
/* rgb */ color: rgb(31, 45, 13);
/* oklch */ color: oklch(27.6% 0.056 129.3);
Tailwind
colors: {
  custom: {
    50: '#5c664d',
    500: '#1f2d0d',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d0d;
$custom-light: #5c664d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d0d",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 86.25,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27579,
    "c": 0.05563,
    "h": 129.3
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#1F2D0D
secondary
#472E68
accent
#49DF8B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #1F2D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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