#1F2D06#1F2D06

#1F2D06 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.063 H 127.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#1F2D06
RGBrgb(31, 45, 6)
HSLhsl(82, 76%, 10%)
HSVhsv(82, 87%, 18%)
CMYKcmyk(31.1%, 0%, 86.7%, 82.4%)
CIE-LABlab(16.41, -13.28, 20.97)
CIE-LCHlch(16.41, 24.82, 122.35°)
OKLaboklab(27.49% -0.0381 0.0501)
OKLCHoklch(27.49% 0.063 127.3)
XYZxyz(1.5363, 2.1812, 0.5123)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D06 #14062D
analogous
#2D2706 #1F2D06 #0C2D06
triadic
#1F2D06 #061F2D #2D061F
tetradic
#1F2D06 #062D27 #14062D #2D060C
square
#1F2D06 #062D27 #14062D #2D060C
split-complementary
#1F2D06 #060C2D #27062D
monochromatic
#131B04 #131B04 #1F2D06 #44630D #699914

Accessibility & contrast

On white

14.62
#1F2D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2D06
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D06#FFFFFF#000000##FFFFFF
##1F2D061.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302902
Deuteranopia (green-blind)
#2E2809
Tritanopia (blue-blind)
#212A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2d06;
/* rgb */ color: rgb(31, 45, 6);
/* oklch */ color: oklch(27.5% 0.063 127.3);
Tailwind
colors: {
  custom: {
    50: '#5c6649',
    500: '#1f2d06',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d06;
$custom-light: #5c6649;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d06",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 81.538,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.2749,
    "c": 0.06293,
    "h": 127.3
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#1F2D06
secondary
#3D216E
accent
#35F379
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #1F2D06

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

Preview Lab → · Contrast checker → · Palette generator →

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