#1F4307#1F4307

#1F4307 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.095 H 136.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1F4307
RGBrgb(31, 67, 7)
HSLhsl(96, 81%, 15%)
HSVhsv(96, 90%, 26%)
CMYKcmyk(53.7%, 0%, 89.6%, 73.7%)
CIE-LABlab(24.70, -24.59, 29.76)
CIE-LCHlch(24.70, 38.61, 129.57°)
OKLaboklab(34.27% -0.0686 0.0659)
OKLCHoklch(34.27% 0.095 136.2)
XYZxyz(2.6105, 4.3208, 0.8974)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4307 #2B0743
analogous
#3D4307 #1F4307 #07430D
triadic
#1F4307 #071F43 #43071F
tetradic
#1F4307 #073D43 #2B0743 #430D07
square
#1F4307 #073D43 #2B0743 #430D07
split-complementary
#1F4307 #0D0743 #43073D
monochromatic
#0D1C03 #0D1C03 #1F4307 #397A0D #52B213

Accessibility & contrast

On white

11.26
#1F4307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1F4307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4307
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4307#FFFFFF#000000##FFFFFF
##1F43071.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#1D4038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f4307;
/* rgb */ color: rgb(31, 67, 7);
/* oklch */ color: oklch(34.3% 0.095 136.2);
Tailwind
colors: {
  custom: {
    50: '#5f774c',
    500: '#1f4307',
    950: '#000000',
  },
}
SCSS
$custom: #1f4307;
$custom-light: #5f774c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4307",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 7
  },
  "hsl": {
    "h": 96,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34273,
    "c": 0.09508,
    "h": 136.2
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#1F4307
secondary
#5C2482
accent
#30F7A8
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050901
muted
#797B77

Preview Lab

Preview with #1F4307

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

Preview Lab → · Contrast checker → · Palette generator →

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