#1F2F06#1F2F06

#1F2F06 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.066 H 128.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#1F2F06
RGBrgb(31, 47, 6)
HSLhsl(83, 77%, 10%)
HSVhsv(83, 87%, 18%)
CMYKcmyk(34%, 0%, 87.2%, 81.6%)
CIE-LABlab(17.17, -14.43, 21.90)
CIE-LCHlch(17.17, 26.22, 123.39°)
OKLaboklab(28.1% -0.0412 0.0516)
OKLCHoklch(28.1% 0.066 128.6)
XYZxyz(1.6145, 2.3374, 0.5384)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F06 #16062F
analogous
#2F2A06 #1F2F06 #0A2F06
triadic
#1F2F06 #061F2F #2F061F
tetradic
#1F2F06 #062F2A #16062F #2F060A
square
#1F2F06 #062F2A #16062F #2F060A
split-complementary
#1F2F06 #060A2F #2A062F
monochromatic
#121B03 #121B03 #1F2F06 #43650D #679C14

Accessibility & contrast

On white

14.31
#1F2F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2F06
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F06#FFFFFF#000000##FFFFFF
##1F2F061.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B02
Deuteranopia (green-blind)
#302A09
Tritanopia (blue-blind)
#202C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1f2f06;
/* rgb */ color: rgb(31, 47, 6);
/* oklch */ color: oklch(28.1% 0.066 128.6);
Tailwind
colors: {
  custom: {
    50: '#5c674a',
    500: '#1f2f06',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f06;
$custom-light: #5c674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f06",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 83.415,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28104,
    "c": 0.06609,
    "h": 128.6
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#1F2F06
secondary
#402170
accent
#34F47F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F2F06

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

Preview Lab → · Contrast checker → · Palette generator →

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