#5D7E1A#5D7E1A

#5D7E1A is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.129 H 126.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D7E1A
RGBrgb(93, 126, 26)
HSLhsl(80, 66%, 30%)
HSVhsv(80, 79%, 49%)
CMYKcmyk(26.2%, 0%, 79.4%, 50.6%)
CIE-LABlab(48.66, -26.77, 46.83)
CIE-LCHlch(48.66, 53.94, 119.76°)
OKLaboklab(54.84% -0.0773 0.1035)
OKLCHoklch(54.84% 0.129 126.7)
XYZxyz(12.1616, 17.3232, 3.6801)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E1A #3B1A7E
analogous
#7E6D1A #5D7E1A #2B7E1A
triadic
#5D7E1A #1A5D7E #7E1A5D
tetradic
#5D7E1A #1A7E6D #3B1A7E #7E1A2B
square
#5D7E1A #1A7E6D #3B1A7E #7E1A2B
split-complementary
#5D7E1A #1A2B7E #6D1A7E
monochromatic
#131905 #384B10 #5D7E1A #82B124 #A4D73C

Accessibility & contrast

On white

4.70
#5D7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5D7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E1A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E1A#FFFFFF#000000##FFFFFF
##5D7E1A1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e1a;
/* rgb */ color: rgb(93, 126, 26);
/* oklch */ color: oklch(54.8% 0.129 126.7);
Tailwind
colors: {
  custom: {
    50: '#8ea35f',
    500: '#5d7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e1a;
$custom-light: #8ea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e1a",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 79.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.12918,
    "h": 126.7
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#5D7E1A
secondary
#6742B2
accent
#3FE977
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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