#5D7A19#5D7A19

#5D7A19 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.8% C 0.125 H 125.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5D7A19
RGBrgb(93, 122, 25)
HSLhsl(78, 66%, 29%)
HSVhsv(78, 80%, 48%)
CMYKcmyk(23.8%, 0%, 79.5%, 52.2%)
CIE-LABlab(47.39, -24.85, 45.97)
CIE-LCHlch(47.39, 52.26, 118.40°)
OKLaboklab(53.8% -0.0721 0.1015)
OKLCHoklch(53.8% 0.125 125.4)
XYZxyz(11.6493, 16.3163, 3.4551)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7A19 #36197A
analogous
#7A6719 #5D7A19 #2D7A19
triadic
#5D7A19 #195D7A #7A195D
tetradic
#5D7A19 #197A67 #36197A #7A192D
square
#5D7A19 #197A67 #36197A #7A192D
split-complementary
#5D7A19 #192D7A #67197A
monochromatic
#131905 #36470F #5D7A19 #84AD23 #A7D637

Accessibility & contrast

On white

4.93
#5D7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5D7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7A19
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7A19#FFFFFF#000000##FFFFFF
##5D7A191.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#617468
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7a19;
/* rgb */ color: rgb(93, 122, 25);
/* oklch */ color: oklch(53.8% 0.125 125.4);
Tailwind
colors: {
  custom: {
    50: '#8ea05e',
    500: '#5d7a19',
    950: '#000000',
  },
}
SCSS
$custom: #5d7a19;
$custom-light: #8ea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7a19",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 77.938,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.12455,
    "h": 125.4
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#5D7A19
secondary
#6140AF
accent
#3FE972
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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