#1F4606#1F4606

#1F4606 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.2% C 0.100 H 136.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1F4606
RGBrgb(31, 70, 6)
HSLhsl(97, 84%, 15%)
HSVhsv(97, 91%, 27%)
CMYKcmyk(55.7%, 0%, 91.4%, 72.5%)
CIE-LABlab(25.82, -26.04, 31.21)
CIE-LCHlch(25.82, 40.65, 129.84°)
OKLaboklab(35.19% -0.0725 0.0687)
OKLCHoklch(35.19% 0.1 136.6)
XYZxyz(2.7880, 4.6846, 0.9296)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4606 #2D0646
analogous
#3F4606 #1F4606 #06460D
triadic
#1F4606 #061F46 #46061F
tetradic
#1F4606 #063F46 #2D0646 #460D06
square
#1F4606 #063F46 #2D0646 #460D06
split-complementary
#1F4606 #0D0646 #46063F
monochromatic
#0C1C02 #0C1C02 #1F4606 #387E0B #51B710

Accessibility & contrast

On white

10.84
#1F4606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1F4606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4606
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4606#FFFFFF#000000##FFFFFF
##1F46061.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#1D433A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f4606;
/* rgb */ color: rgb(31, 70, 6);
/* oklch */ color: oklch(35.2% 0.100 136.6);
Tailwind
colors: {
  custom: {
    50: '#607a4c',
    500: '#1f4606',
    950: '#000000',
  },
}
SCSS
$custom: #1f4606;
$custom-light: #607a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4606",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 96.563,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35186,
    "c": 0.09988,
    "h": 136.6
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#1F4606
secondary
#5F2285
accent
#2DFAAA
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050901
muted
#797B77

Preview Lab

Preview with #1F4606

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

Preview Lab → · Contrast checker → · Palette generator →

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