#1F2F0D#1F2F0D

#1F2F0D is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.2% C 0.059 H 130.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#1F2F0D
RGBrgb(31, 47, 13)
HSLhsl(88, 57%, 12%)
HSVhsv(88, 72%, 18%)
CMYKcmyk(34%, 0%, 72.3%, 81.6%)
CIE-LABlab(17.24, -13.71, 19.03)
CIE-LCHlch(17.24, 23.45, 125.77°)
OKLaboklab(28.19% -0.0385 0.0449)
OKLCHoklch(28.19% 0.059 130.6)
XYZxyz(1.6542, 2.3533, 0.7478)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F0D #1D0D2F
analogous
#2F2E0D #1F2F0D #0E2F0D
triadic
#1F2F0D #0D1F2F #2F0D1F
tetradic
#1F2F0D #0D2F2E #1D0D2F #2F0D0E
square
#1F2F0D #0D2F2E #1D0D2F #2F0D0E
split-complementary
#1F2F0D #0D0E2F #2E0D2F
monochromatic
#101807 #101807 #1F2F0D #3F5F1A #5E8F28

Accessibility & contrast

On white

14.28
#1F2F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1F2F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2F0D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F0D#FFFFFF#000000##FFFFFF
##1F2F0D1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B09
Deuteranopia (green-blind)
#2F2A0F
Tritanopia (blue-blind)
#202D28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1f2f0d;
/* rgb */ color: rgb(31, 47, 13);
/* oklch */ color: oklch(28.2% 0.059 130.6);
Tailwind
colors: {
  custom: {
    50: '#5c674d',
    500: '#1f2f0d',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f0d;
$custom-light: #5c674d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f0d",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 88.235,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28189,
    "c": 0.0591,
    "h": 130.6
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#1F2F0D
secondary
#4A2E6A
accent
#48E08F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F2F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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