#1F2906#1F2906

#1F2906 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.057 H 123.9°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#1F2906
RGBrgb(31, 41, 6)
HSLhsl(77, 74%, 9%)
HSVhsv(77, 85%, 16%)
CMYKcmyk(24.4%, 0%, 85.4%, 83.9%)
CIE-LABlab(14.90, -10.89, 19.06)
CIE-LCHlch(14.90, 21.95, 119.76°)
OKLaboklab(26.27% -0.0315 0.0469)
OKLCHoklch(26.27% 0.057 123.9)
XYZxyz(1.3909, 1.8903, 0.4639)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2906 #100629
analogous
#292206 #1F2906 #0E2906
triadic
#1F2906 #061F29 #29061F
tetradic
#1F2906 #062922 #100629 #29060E
square
#1F2906 #062922 #100629 #29060E
split-complementary
#1F2906 #060E29 #220629
monochromatic
#141B04 #141B04 #1F2906 #475E0E #709416

Accessibility & contrast

On white

15.24
#1F2906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1F2906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2906
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2906#FFFFFF#000000##FFFFFF
##1F29061.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2B2508
Tritanopia (blue-blind)
#212722
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1f2906;
/* rgb */ color: rgb(31, 41, 6);
/* oklch */ color: oklch(26.3% 0.057 123.9);
Tailwind
colors: {
  custom: {
    50: '#5b6249',
    500: '#1f2906',
    950: '#000000',
  },
}
SCSS
$custom: #1f2906;
$custom-light: #5b6249;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2906",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 77.143,
    "s": 74.468,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26267,
    "c": 0.05653,
    "h": 123.9
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#1F2906
secondary
#36216A
accent
#37F16C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F2906

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

Preview Lab → · Contrast checker → · Palette generator →

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