#1F4205#1F4205

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

Color values

HEX#1F4205
RGBrgb(31, 66, 5)
HSLhsl(94, 86%, 14%)
HSVhsv(94, 92%, 26%)
CMYKcmyk(53%, 0%, 92.4%, 74.1%)
CIE-LABlab(24.32, -24.28, 30.20)
CIE-LCHlch(24.32, 38.75, 128.81°)
OKLaboklab(33.95% -0.0679 0.0665)
OKLCHoklch(33.95% 0.095 135.6)
XYZxyz(2.5406, 4.1985, 0.8201)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4205 #280542
analogous
#3E4205 #1F4205 #05420A
triadic
#1F4205 #051F42 #42051F
tetradic
#1F4205 #053E42 #280542 #420A05
square
#1F4205 #053E42 #280542 #420A05
split-complementary
#1F4205 #0A0542 #42053E
monochromatic
#0D1C02 #0D1C02 #1F4205 #3A7B09 #54B40E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4205#FFFFFF#000000##FFFFFF
##1F42051.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)
#40390C
Tritanopia (blue-blind)
#1E3F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f4205;
/* rgb */ color: rgb(31, 66, 5);
/* oklch */ color: oklch(34.0% 0.095 135.6);
Tailwind
colors: {
  custom: {
    50: '#5f774b',
    500: '#1f4205',
    950: '#000000',
  },
}
SCSS
$custom: #1f4205;
$custom-light: #5f774b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4205",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 94.426,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3395,
    "c": 0.09505,
    "h": 135.6
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#1F4205
secondary
#592082
accent
#2CFCA3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #1F4205

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

Preview Lab → · Contrast checker → · Palette generator →

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