#5D7D1A#5D7D1A

#5D7D1A is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.128 H 126.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D7D1A
RGBrgb(93, 125, 26)
HSLhsl(79, 66%, 30%)
HSVhsv(79, 79%, 49%)
CMYKcmyk(25.6%, 0%, 79.2%, 51%)
CIE-LABlab(48.35, -26.28, 46.53)
CIE-LCHlch(48.35, 53.44, 119.46°)
OKLaboklab(54.58% -0.076 0.1029)
OKLCHoklch(54.58% 0.128 126.4)
XYZxyz(12.0343, 17.0688, 3.6377)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D1A #3A1A7D
analogous
#7D6C1A #5D7D1A #2C7D1A
triadic
#5D7D1A #1A5D7D #7D1A5D
tetradic
#5D7D1A #1A7D6C #3A1A7D #7D1A2C
square
#5D7D1A #1A7D6C #3A1A7D #7D1A2C
split-complementary
#5D7D1A #1A2C7D #6C1A7D
monochromatic
#131905 #374A0F #5D7D1A #83B025 #A4D63B

Accessibility & contrast

On white

4.76
#5D7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D1A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D1A#FFFFFF#000000##FFFFFF
##5D7D1A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#61776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d1a;
/* rgb */ color: rgb(93, 125, 26);
/* oklch */ color: oklch(54.6% 0.128 126.4);
Tailwind
colors: {
  custom: {
    50: '#8ea25f',
    500: '#5d7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d1a;
$custom-light: #8ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d1a",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 79.394,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.12789,
    "h": 126.4
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#5D7D1A
secondary
#6642B1
accent
#3FE976
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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