#1F3C05#1F3C05

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

Color values

HEX#1F3C05
RGBrgb(31, 60, 5)
HSLhsl(92, 85%, 13%)
HSVhsv(92, 92%, 24%)
CMYKcmyk(48.3%, 0%, 91.7%, 76.5%)
CIE-LABlab(22.07, -21.41, 27.90)
CIE-LCHlch(22.07, 35.17, 127.50°)
OKLaboklab(32.1% -0.0602 0.0622)
OKLCHoklch(32.1% 0.087 134.1)
XYZxyz(2.2083, 3.5339, 0.7093)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3C05 #22053C
analogous
#3A3C05 #1F3C05 #053C06
triadic
#1F3C05 #051F3C #3C051F
tetradic
#1F3C05 #053A3C #22053C #3C0605
square
#1F3C05 #053A3C #22053C #3C0605
split-complementary
#1F3C05 #06053C #3C053A
monochromatic
#0F1C02 #0F1C02 #1F3C05 #3C740A #59AD0E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F3C05#FFFFFF#000000##FFFFFF
##1F3C051.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)
#3B340B
Tritanopia (blue-blind)
#1F3932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f3c05;
/* rgb */ color: rgb(31, 60, 5);
/* oklch */ color: oklch(32.1% 0.087 134.1);
Tailwind
colors: {
  custom: {
    50: '#5e724a',
    500: '#1f3c05',
    950: '#000000',
  },
}
SCSS
$custom: #1f3c05;
$custom-light: #5e724a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3c05",
  "rgb": {
    "r": 31,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 91.636,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.08658,
    "h": 134.1
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#1F3C05
secondary
#51207D
accent
#2DFB9A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3C05

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

Preview Lab → · Contrast checker → · Palette generator →

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