#5D7919#5D7919

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

Color values

HEX#5D7919
RGBrgb(93, 121, 25)
HSLhsl(78, 66%, 29%)
HSVhsv(78, 79%, 47%)
CMYKcmyk(23.1%, 0%, 79.3%, 52.5%)
CIE-LABlab(47.07, -24.35, 45.67)
CIE-LCHlch(47.07, 51.76, 118.07°)
OKLaboklab(53.54% -0.0708 0.1009)
OKLCHoklch(53.54% 0.123 125)
XYZxyz(11.5271, 16.0719, 3.4144)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7919 #351979
analogous
#796519 #5D7919 #2D7919
triadic
#5D7919 #195D79 #79195D
tetradic
#5D7919 #197965 #351979 #79192D
square
#5D7919 #197965 #351979 #79192D
split-complementary
#5D7919 #192D79 #651979
monochromatic
#131905 #36460F #5D7919 #84AC23 #A7D637

Accessibility & contrast

On white

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

On black

4.21
#5D7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D7919#FFFFFF#000000##FFFFFF
##5D79191.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807102
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#627367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7919;
/* rgb */ color: rgb(93, 121, 25);
/* oklch */ color: oklch(53.5% 0.123 125.0);
Tailwind
colors: {
  custom: {
    50: '#8e9f5e',
    500: '#5d7919',
    950: '#000000',
  },
}
SCSS
$custom: #5d7919;
$custom-light: #8e9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7919",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 77.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.12326,
    "h": 125
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#5D7919
secondary
#6040AE
accent
#3FE971
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7919

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

Preview Lab → · Contrast checker → · Palette generator →

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