#1F2E06#1F2E06

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

Color values

HEX#1F2E06
RGBrgb(31, 46, 6)
HSLhsl(83, 77%, 10%)
HSVhsv(83, 87%, 18%)
CMYKcmyk(32.6%, 0%, 87%, 82%)
CIE-LABlab(16.79, -13.86, 21.43)
CIE-LCHlch(16.79, 25.53, 122.89°)
OKLaboklab(27.8% -0.0397 0.0509)
OKLCHoklch(27.8% 0.065 128)
XYZxyz(1.5749, 2.2584, 0.5252)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E06 #15062E
analogous
#2E2906 #1F2E06 #0B2E06
triadic
#1F2E06 #061F2E #2E061F
tetradic
#1F2E06 #062E29 #15062E #2E060B
square
#1F2E06 #062E29 #15062E #2E060B
split-complementary
#1F2E06 #060B2E #29062E
monochromatic
#121B04 #121B04 #1F2E06 #43640D #689A14

Accessibility & contrast

On white

14.47
#1F2E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2E06
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E06#FFFFFF#000000##FFFFFF
##1F2E061.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A02
Deuteranopia (green-blind)
#2F2909
Tritanopia (blue-blind)
#202B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2e06;
/* rgb */ color: rgb(31, 46, 6);
/* oklch */ color: oklch(27.8% 0.065 128.0);
Tailwind
colors: {
  custom: {
    50: '#5c664a',
    500: '#1f2e06',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e06;
$custom-light: #5c664a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e06",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 82.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27797,
    "c": 0.06451,
    "h": 128
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#1F2E06
secondary
#3E216F
accent
#34F37C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F2E06

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

Preview Lab → · Contrast checker → · Palette generator →

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