#5F781E#5F781E

#5F781E is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.5% C 0.118 H 124.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5F781E
RGBrgb(95, 120, 30)
HSLhsl(77, 60%, 29%)
HSVhsv(77, 75%, 47%)
CMYKcmyk(20.8%, 0%, 75%, 52.9%)
CIE-LABlab(46.92, -22.70, 43.74)
CIE-LCHlch(46.92, 49.28, 117.43°)
OKLaboklab(53.47% -0.0659 0.0977)
OKLCHoklch(53.47% 0.118 124)
XYZxyz(11.6702, 15.9595, 3.6937)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F781E #371E78
analogous
#78641E #5F781E #32781E
triadic
#5F781E #1E5F78 #781E5F
tetradic
#5F781E #1E7864 #371E78 #781E32
square
#5F781E #1E7864 #371E78 #781E32
split-complementary
#5F781E #1E3278 #641E78
monochromatic
#131806 #384712 #5F781E #86A92A #A8CF41

Accessibility & contrast

On white

5.01
#5F781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5F781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F781E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F781E#FFFFFF#000000##FFFFFF
##5F781E1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#647267
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f781e;
/* rgb */ color: rgb(95, 120, 30);
/* oklch */ color: oklch(53.5% 0.118 124.0);
Tailwind
colors: {
  custom: {
    50: '#8f9f61',
    500: '#5f781e',
    950: '#000000',
  },
}
SCSS
$custom: #5f781e;
$custom-light: #8f9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f781e",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 76.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.11785,
    "h": 124
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#5F781E
secondary
#6246AC
accent
#45E371
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F781E

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

Preview Lab → · Contrast checker → · Palette generator →

#5F781E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva