#1F2D0E#1F2D0E

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

Color values

HEX#1F2D0E
RGBrgb(31, 45, 14)
HSLhsl(87, 53%, 12%)
HSVhsv(87, 69%, 18%)
CMYKcmyk(31.1%, 0%, 68.9%, 82.4%)
CIE-LABlab(16.50, -12.42, 17.63)
CIE-LCHlch(16.50, 21.56, 125.15°)
OKLaboklab(27.59% -0.0348 0.042)
OKLCHoklch(27.59% 0.055 129.7)
XYZxyz(1.5827, 2.1997, 0.7566)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D0E #1C0E2D
analogous
#2D2C0E #1F2D0E #102D0E
triadic
#1F2D0E #0E1F2D #2D0E1F
tetradic
#1F2D0E #0E2D2C #1C0E2D #2D0E10
square
#1F2D0E #0E2D2C #1C0E2D #2D0E10
split-complementary
#1F2D0E #0E102D #2C0E2D
monochromatic
#101707 #101707 #1F2D0E #3F5C1D #5F8A2B

Accessibility & contrast

On white

14.58
#1F2D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2D0E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D0E#FFFFFF#000000##FFFFFF
##1F2D0E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2d0e;
/* rgb */ color: rgb(31, 45, 14);
/* oklch */ color: oklch(27.6% 0.054 129.7);
Tailwind
colors: {
  custom: {
    50: '#5b664e',
    500: '#1f2d0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d0e;
$custom-light: #5b664e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d0e",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 14
  },
  "hsl": {
    "h": 87.097,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.0545,
    "h": 129.7
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#1F2D0E
secondary
#493067
accent
#4CDC8D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #1F2D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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