#5D791D#5D791D

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

Color values

HEX#5D791D
RGBrgb(93, 121, 29)
HSLhsl(78, 61%, 29%)
HSVhsv(78, 76%, 47%)
CMYKcmyk(23.1%, 0%, 76%, 52.5%)
CIE-LABlab(47.09, -24.13, 44.25)
CIE-LCHlch(47.09, 50.40, 118.60°)
OKLaboklab(53.57% -0.0698 0.0986)
OKLCHoklch(53.57% 0.121 125.3)
XYZxyz(11.5734, 16.0905, 3.6582)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D791D #391D79
analogous
#79671D #5D791D #2F791D
triadic
#5D791D #1D5D79 #791D5D
tetradic
#5D791D #1D7967 #391D79 #791D2F
square
#5D791D #1D7967 #391D79 #791D2F
split-complementary
#5D791D #1D2F79 #671D79
monochromatic
#131906 #374811 #5D791D #83AA29 #A5D13F

Accessibility & contrast

On white

4.98
#5D791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5D791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D791D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D791D#FFFFFF#000000##FFFFFF
##5D791D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d791d;
/* rgb */ color: rgb(93, 121, 29);
/* oklch */ color: oklch(53.6% 0.121 125.3);
Tailwind
colors: {
  custom: {
    50: '#8e9f60',
    500: '#5d791d',
    950: '#000000',
  },
}
SCSS
$custom: #5d791d;
$custom-light: #8e9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d791d",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 78.261,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.12083,
    "h": 125.3
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#5D791D
secondary
#6545AD
accent
#43E474
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D791D

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

Preview Lab → · Contrast checker → · Palette generator →

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