#1F2D09#1F2D09

#1F2D09 is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.060 H 128.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1F2D09
RGBrgb(31, 45, 9)
HSLhsl(83, 67%, 11%)
HSVhsv(83, 80%, 18%)
CMYKcmyk(31.1%, 0%, 80%, 82.4%)
CIE-LABlab(16.44, -12.97, 19.78)
CIE-LCHlch(16.44, 23.66, 123.25°)
OKLaboklab(27.53% -0.0369 0.0471)
OKLCHoklch(27.53% 0.06 128.1)
XYZxyz(1.5528, 2.1878, 0.5989)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D09 #17092D
analogous
#2D2909 #1F2D09 #0D2D09
triadic
#1F2D09 #091F2D #2D091F
tetradic
#1F2D09 #092D29 #17092D #2D090D
square
#1F2D09 #092D29 #17092D #2D090D
split-complementary
#1F2D09 #090D2D #29092D
monochromatic
#121A05 #121A05 #1F2D09 #426013 #65931D

Accessibility & contrast

On white

14.61
#1F2D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2D09
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D09#FFFFFF#000000##FFFFFF
##1F2D091.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2d09;
/* rgb */ color: rgb(31, 45, 9);
/* oklch */ color: oklch(27.5% 0.060 128.1);
Tailwind
colors: {
  custom: {
    50: '#5c664b',
    500: '#1f2d09',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d09;
$custom-light: #5c664b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d09",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 9
  },
  "hsl": {
    "h": 83.333,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27527,
    "c": 0.05981,
    "h": 128.1
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#1F2D09
secondary
#41276B
accent
#3EEA81
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #1F2D09

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

Preview Lab → · Contrast checker → · Palette generator →

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