#1F4206#1F4206

#1F4206 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.094 H 135.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1F4206
RGBrgb(31, 66, 6)
HSLhsl(95, 83%, 14%)
HSVhsv(95, 91%, 26%)
CMYKcmyk(53%, 0%, 90.9%, 74.1%)
CIE-LABlab(24.32, -24.20, 29.80)
CIE-LCHlch(24.32, 38.39, 129.09°)
OKLaboklab(33.96% -0.0676 0.0658)
OKLCHoklch(33.96% 0.094 135.8)
XYZxyz(2.5461, 4.2007, 0.8489)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4206 #290642
analogous
#3D4206 #1F4206 #06420B
triadic
#1F4206 #061F42 #42061F
tetradic
#1F4206 #063D42 #290642 #420B06
square
#1F4206 #063D42 #290642 #420B06
split-complementary
#1F4206 #0B0642 #42063D
monochromatic
#0D1C03 #0D1C03 #1F4206 #397A0B #54B210

Accessibility & contrast

On white

11.41
#1F4206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F4206 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4206
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4206#FFFFFF#000000##FFFFFF
##1F42061.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#1E3F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f4206;
/* rgb */ color: rgb(31, 66, 6);
/* oklch */ color: oklch(34.0% 0.094 135.8);
Tailwind
colors: {
  custom: {
    50: '#5f774c',
    500: '#1f4206',
    950: '#000000',
  },
}
SCSS
$custom: #1f4206;
$custom-light: #5f774c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4206",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 6
  },
  "hsl": {
    "h": 95,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.09436,
    "h": 135.8
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#1F4206
secondary
#5A2282
accent
#2EFAA5
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F4206

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

Preview Lab → · Contrast checker → · Palette generator →

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