#1F3F05#1F3F05

#1F3F05 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.0% C 0.091 H 134.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1F3F05
RGBrgb(31, 63, 5)
HSLhsl(93, 85%, 13%)
HSVhsv(93, 92%, 25%)
CMYKcmyk(50.8%, 0%, 92.1%, 75.3%)
CIE-LABlab(23.19, -22.86, 29.07)
CIE-LCHlch(23.19, 36.99, 128.18°)
OKLaboklab(33.03% -0.0641 0.0644)
OKLCHoklch(33.03% 0.091 134.9)
XYZxyz(2.3699, 3.8571, 0.7632)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3F05 #25053F
analogous
#3C3F05 #1F3F05 #053F08
triadic
#1F3F05 #051F3F #3F051F
tetradic
#1F3F05 #053C3F #25053F #3F0805
square
#1F3F05 #053C3F #25053F #3F0805
split-complementary
#1F3F05 #08053F #3F053C
monochromatic
#0E1C02 #0E1C02 #1F3F05 #3B7809 #57B00E

Accessibility & contrast

On white

11.86
#1F3F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1F3F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3F05
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3F05#FFFFFF#000000##FFFFFF
##1F3F051.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3E360B
Tritanopia (blue-blind)
#1E3C34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f3f05;
/* rgb */ color: rgb(31, 63, 5);
/* oklch */ color: oklch(33.0% 0.091 134.9);
Tailwind
colors: {
  custom: {
    50: '#5f744b',
    500: '#1f3f05',
    950: '#000000',
  },
}
SCSS
$custom: #1f3f05;
$custom-light: #5f744b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3f05",
  "rgb": {
    "r": 31,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 93.103,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.09085,
    "h": 134.9
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#1F3F05
secondary
#552080
accent
#2CFC9F
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3F05

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

Preview Lab → · Contrast checker → · Palette generator →

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