#1F2E09#1F2E09

#1F2E09 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.061 H 128.7°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#1F2E09
RGBrgb(31, 46, 9)
HSLhsl(84, 67%, 11%)
HSVhsv(84, 80%, 18%)
CMYKcmyk(32.6%, 0%, 80.4%, 82%)
CIE-LABlab(16.82, -13.55, 20.25)
CIE-LCHlch(16.82, 24.37, 123.79°)
OKLaboklab(27.83% -0.0385 0.0479)
OKLCHoklch(27.83% 0.061 128.7)
XYZxyz(1.5914, 2.2650, 0.6117)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E09 #18092E
analogous
#2E2A09 #1F2E09 #0C2E09
triadic
#1F2E09 #091F2E #2E091F
tetradic
#1F2E09 #092E2A #18092E #2E090C
square
#1F2E09 #092E2A #18092E #2E090C
split-complementary
#1F2E09 #090C2E #2A092E
monochromatic
#111A05 #111A05 #1F2E09 #416113 #64941D

Accessibility & contrast

On white

14.45
#1F2E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1F2E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E09
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E09#FFFFFF#000000##FFFFFF
##1F2E091.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A05
Deuteranopia (green-blind)
#2F290C
Tritanopia (blue-blind)
#202C26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2e09;
/* rgb */ color: rgb(31, 46, 9);
/* oklch */ color: oklch(27.8% 0.061 128.7);
Tailwind
colors: {
  custom: {
    50: '#5c664b',
    500: '#1f2e09',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e09;
$custom-light: #5c664b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e09",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 84.324,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27833,
    "c": 0.06147,
    "h": 128.7
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#1F2E09
secondary
#43276C
accent
#3EEA84
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F2E09

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

Preview Lab → · Contrast checker → · Palette generator →

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