#5E791D#5E791D

#5E791D is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.120 H 124.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5E791D
RGBrgb(94, 121, 29)
HSLhsl(78, 61%, 29%)
HSVhsv(78, 76%, 47%)
CMYKcmyk(22.3%, 0%, 76%, 52.5%)
CIE-LABlab(47.16, -23.70, 44.34)
CIE-LCHlch(47.16, 50.27, 118.13°)
OKLaboklab(53.64% -0.0687 0.0988)
OKLCHoklch(53.64% 0.12 124.8)
XYZxyz(11.6753, 16.1430, 3.6630)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E791D #381D79
analogous
#79661D #5E791D #30791D
triadic
#5E791D #1D5E79 #791D5E
tetradic
#5E791D #1D7966 #381D79 #791D30
square
#5E791D #1D7966 #381D79 #791D30
split-complementary
#5E791D #1D3079 #661D79
monochromatic
#131906 #384811 #5E791D #84AA29 #A6D13F

Accessibility & contrast

On white

4.97
#5E791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5E791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E791D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E791D#FFFFFF#000000##FFFFFF
##5E791D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710B
Deuteranopia (green-blind)
#7C7025
Tritanopia (blue-blind)
#637367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e791d;
/* rgb */ color: rgb(94, 121, 29);
/* oklch */ color: oklch(53.6% 0.120 124.8);
Tailwind
colors: {
  custom: {
    50: '#8f9f60',
    500: '#5e791d',
    950: '#000000',
  },
}
SCSS
$custom: #5e791d;
$custom-light: #8f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e791d",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 77.609,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.12031,
    "h": 124.8
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#5E791D
secondary
#6345AD
accent
#43E473
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E791D

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

Preview Lab → · Contrast checker → · Palette generator →

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