#1F3F06#1F3F06

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

Color values

HEX#1F3F06
RGBrgb(31, 63, 6)
HSLhsl(94, 83%, 14%)
HSVhsv(94, 90%, 25%)
CMYKcmyk(50.8%, 0%, 90.5%, 75.3%)
CIE-LABlab(23.20, -22.78, 28.67)
CIE-LCHlch(23.20, 36.62, 128.47°)
OKLaboklab(33.03% -0.0638 0.0637)
OKLCHoklch(33.03% 0.09 135.1)
XYZxyz(2.3754, 3.8593, 0.7920)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3F06 #26063F
analogous
#3B3F06 #1F3F06 #063F09
triadic
#1F3F06 #061F3F #3F061F
tetradic
#1F3F06 #063B3F #26063F #3F0906
square
#1F3F06 #063B3F #26063F #3F0906
split-complementary
#1F3F06 #09063F #3F063B
monochromatic
#0E1C03 #0E1C03 #1F3F06 #3A770B #56AF11

Accessibility & contrast

On white

11.85
#1F3F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3F06
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3F06#FFFFFF#000000##FFFFFF
##1F3F061.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f3f06;
/* rgb */ color: rgb(31, 63, 6);
/* oklch */ color: oklch(33.0% 0.090 135.1);
Tailwind
colors: {
  custom: {
    50: '#5f744b',
    500: '#1f3f06',
    950: '#000000',
  },
}
SCSS
$custom: #1f3f06;
$custom-light: #5f744b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3f06",
  "rgb": {
    "r": 31,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 93.684,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.09012,
    "h": 135.1
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#1F3F06
secondary
#56227F
accent
#2FF9A0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F3F06

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

Preview Lab → · Contrast checker → · Palette generator →

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