#5D791C#5D791C

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

Color values

HEX#5D791C
RGBrgb(93, 121, 28)
HSLhsl(78, 62%, 29%)
HSVhsv(78, 77%, 47%)
CMYKcmyk(23.1%, 0%, 76.9%, 52.5%)
CIE-LABlab(47.09, -24.19, 44.61)
CIE-LCHlch(47.09, 50.75, 118.46°)
OKLaboklab(53.56% -0.0701 0.0992)
OKLCHoklch(53.56% 0.121 125.2)
XYZxyz(11.5613, 16.0856, 3.5941)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D791C #381C79
analogous
#79671C #5D791C #2E791C
triadic
#5D791C #1C5D79 #791C5D
tetradic
#5D791C #1C7967 #381C79 #791C2E
square
#5D791C #1C7967 #381C79 #791C2E
split-complementary
#5D791C #1C2E79 #671C79
monochromatic
#131906 #374710 #5D791C #83AB28 #A5D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D791C#FFFFFF#000000##FFFFFF
##5D791C1.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)
#807109
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#617367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d791c;
/* rgb */ color: rgb(93, 121, 28);
/* oklch */ color: oklch(53.6% 0.121 125.2);
Tailwind
colors: {
  custom: {
    50: '#8e9f60',
    500: '#5d791c',
    950: '#000000',
  },
}
SCSS
$custom: #5d791c;
$custom-light: #8e9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d791c",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 78.065,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.12146,
    "h": 125.2
  },
  "luminance": 0.16086
}

Semantic roles & 50–950 ramp

primary
#5D791C
secondary
#6344AD
accent
#42E573
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D791C

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

Preview Lab → · Contrast checker → · Palette generator →

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