#1F3D06#1F3D06

#1F3D06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.087 H 134.5°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1F3D06
RGBrgb(31, 61, 6)
HSLhsl(93, 82%, 13%)
HSVhsv(93, 90%, 24%)
CMYKcmyk(49.2%, 0%, 90.2%, 76.1%)
CIE-LABlab(22.45, -21.81, 27.90)
CIE-LCHlch(22.45, 35.41, 128.03°)
OKLaboklab(32.42% -0.0612 0.0622)
OKLCHoklch(32.42% 0.087 134.5)
XYZxyz(2.2666, 3.6418, 0.7558)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3D06 #24063D
analogous
#3A3D06 #1F3D06 #063D08
triadic
#1F3D06 #061F3D #3D061F
tetradic
#1F3D06 #063A3D #24063D #3D0806
square
#1F3D06 #063A3D #24063D #3D0806
split-complementary
#1F3D06 #08063D #3D063A
monochromatic
#0E1C03 #0E1C03 #1F3D06 #3B750B #58AC11

Accessibility & contrast

On white

12.15
#1F3D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1F3D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3D06
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3D06#FFFFFF#000000##FFFFFF
##1F3D061.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#1E3A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f3d06;
/* rgb */ color: rgb(31, 61, 6);
/* oklch */ color: oklch(32.4% 0.087 134.5);
Tailwind
colors: {
  custom: {
    50: '#5e734b',
    500: '#1f3d06',
    950: '#000000',
  },
}
SCSS
$custom: #1f3d06;
$custom-light: #5e734b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3d06",
  "rgb": {
    "r": 31,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 92.727,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32419,
    "c": 0.08725,
    "h": 134.5
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#1F3D06
secondary
#54227D
accent
#2FF89D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3D06

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

Preview Lab → · Contrast checker → · Palette generator →

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