#1F3C06#1F3C06

#1F3C06 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.086 H 134.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1F3C06
RGBrgb(31, 60, 6)
HSLhsl(92, 82%, 13%)
HSVhsv(92, 90%, 24%)
CMYKcmyk(48.3%, 0%, 90%, 76.5%)
CIE-LABlab(22.07, -21.32, 27.50)
CIE-LCHlch(22.07, 34.80, 127.79°)
OKLaboklab(32.11% -0.0599 0.0615)
OKLCHoklch(32.11% 0.086 134.3)
XYZxyz(2.2138, 3.5361, 0.7381)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3C06 #23063C
analogous
#3A3C06 #1F3C06 #063C08
triadic
#1F3C06 #061F3C #3C061F
tetradic
#1F3C06 #063A3C #23063C #3C0806
square
#1F3C06 #063A3C #23063C #3C0806
split-complementary
#1F3C06 #08063C #3C063A
monochromatic
#0E1C03 #0E1C03 #1F3C06 #3C740C #58AB11

Accessibility & contrast

On white

12.30
#1F3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1F3C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3C06
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3C06#FFFFFF#000000##FFFFFF
##1F3C061.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#1F3932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f3c06;
/* rgb */ color: rgb(31, 60, 6);
/* oklch */ color: oklch(32.1% 0.086 134.3);
Tailwind
colors: {
  custom: {
    50: '#5e724b',
    500: '#1f3c06',
    950: '#000000',
  },
}
SCSS
$custom: #1f3c06;
$custom-light: #5e724b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3c06",
  "rgb": {
    "r": 31,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 92.222,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32111,
    "c": 0.08581,
    "h": 134.3
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#1F3C06
secondary
#52227C
accent
#30F89B
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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