#1F2F0E#1F2F0E

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

Color values

HEX#1F2F0E
RGBrgb(31, 47, 14)
HSLhsl(89, 54%, 12%)
HSVhsv(89, 70%, 18%)
CMYKcmyk(34%, 0%, 70.2%, 81.6%)
CIE-LABlab(17.25, -13.59, 18.56)
CIE-LCHlch(17.25, 23.00, 126.22°)
OKLaboklab(28.2% -0.038 0.0438)
OKLCHoklch(28.2% 0.058 130.9)
XYZxyz(1.6608, 2.3560, 0.7826)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F0E #1E0E2F
analogous
#2F2F0E #1F2F0E #0F2F0E
triadic
#1F2F0E #0E1F2F #2F0E1F
tetradic
#1F2F0E #0E2F2F #1E0E2F #2F0E0F
square
#1F2F0E #0E2F2F #1E0E2F #2F0E0F
split-complementary
#1F2F0E #0E0F2F #2F0E2F
monochromatic
#101807 #101807 #1F2F0E #3E5E1C #5D8D2A

Accessibility & contrast

On white

14.27
#1F2F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2F0E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F0E#FFFFFF#000000##FFFFFF
##1F2F0E1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2f0e;
/* rgb */ color: rgb(31, 47, 14);
/* oklch */ color: oklch(28.2% 0.058 130.9);
Tailwind
colors: {
  custom: {
    50: '#5c674e',
    500: '#1f2f0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f0e;
$custom-light: #5c674e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f0e",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 89.091,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28203,
    "c": 0.05801,
    "h": 130.9
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#1F2F0E
secondary
#4C2F69
accent
#4ADD92
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F2F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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