#5D7E15#5D7E15

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

Color values

HEX#5D7E15
RGBrgb(93, 126, 21)
HSLhsl(79, 71%, 29%)
HSVhsv(79, 83%, 49%)
CMYKcmyk(26.2%, 0%, 83.3%, 50.6%)
CIE-LABlab(48.64, -27.02, 48.40)
CIE-LCHlch(48.64, 55.43, 119.17°)
OKLaboklab(54.81% -0.0783 0.106)
OKLCHoklch(54.81% 0.132 126.5)
XYZxyz(12.1105, 17.3028, 3.4111)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E15 #36157E
analogous
#7E6B15 #5D7E15 #297E15
triadic
#5D7E15 #155D7E #7E155D
tetradic
#5D7E15 #157E6B #36157E #7E1529
square
#5D7E15 #157E6B #36157E #7E1529
split-complementary
#5D7E15 #15297E #6B157E
monochromatic
#131A04 #364A0C #5D7E15 #84B21E #A7DD31

Accessibility & contrast

On white

4.71
#5D7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D7E15
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E15#FFFFFF#000000##FFFFFF
##5D7E151.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7e15;
/* rgb */ color: rgb(93, 126, 21);
/* oklch */ color: oklch(54.8% 0.132 126.5);
Tailwind
colors: {
  custom: {
    50: '#8fa35d',
    500: '#5d7e15',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e15;
$custom-light: #8fa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e15",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 78.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.13177,
    "h": 126.5
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#5D7E15
secondary
#613CB3
accent
#3AEE72
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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