#1F3B06#1F3B06

#1F3B06 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.084 H 134.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1F3B06
RGBrgb(31, 59, 6)
HSLhsl(92, 82%, 13%)
HSVhsv(92, 90%, 23%)
CMYKcmyk(47.5%, 0%, 89.8%, 76.9%)
CIE-LABlab(21.70, -20.82, 27.10)
CIE-LCHlch(21.70, 34.18, 127.54°)
OKLaboklab(31.8% -0.0585 0.0607)
OKLCHoklch(31.8% 0.084 134)
XYZxyz(2.1619, 3.4323, 0.7208)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3B06 #22063B
analogous
#393B06 #1F3B06 #063B07
triadic
#1F3B06 #061F3B #3B061F
tetradic
#1F3B06 #06393B #22063B #3B0706
square
#1F3B06 #06393B #22063B #3B0706
split-complementary
#1F3B06 #07063B #3B0639
monochromatic
#0F1C03 #0F1C03 #1F3B06 #3C730C #59AA11

Accessibility & contrast

On white

12.45
#1F3B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1F3B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3B06
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3B06#FFFFFF#000000##FFFFFF
##1F3B061.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#1F3831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f3b06;
/* rgb */ color: rgb(31, 59, 6);
/* oklch */ color: oklch(31.8% 0.084 134.0);
Tailwind
colors: {
  custom: {
    50: '#5e714b',
    500: '#1f3b06',
    950: '#000000',
  },
}
SCSS
$custom: #1f3b06;
$custom-light: #5e714b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3b06",
  "rgb": {
    "r": 31,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 91.698,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31803,
    "c": 0.08434,
    "h": 134
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#1F3B06
secondary
#51227B
accent
#30F89A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1F3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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