#5D7A15#5D7A15

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

Color values

HEX#5D7A15
RGBrgb(93, 122, 21)
HSLhsl(77, 71%, 28%)
HSVhsv(77, 83%, 48%)
CMYKcmyk(23.8%, 0%, 82.8%, 52.2%)
CIE-LABlab(47.37, -25.05, 47.25)
CIE-LCHlch(47.37, 53.48, 117.93°)
OKLaboklab(53.78% -0.073 0.1035)
OKLCHoklch(53.78% 0.127 125.2)
XYZxyz(11.6092, 16.3002, 3.2440)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7A15 #32157A
analogous
#7A6415 #5D7A15 #2A7A15
triadic
#5D7A15 #155D7A #7A155D
tetradic
#5D7A15 #157A64 #32157A #7A152A
square
#5D7A15 #157A64 #32157A #7A152A
split-complementary
#5D7A15 #152A7A #64157A
monochromatic
#141A04 #35460C #5D7A15 #85AE1E #A9DB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7A15#FFFFFF#000000##FFFFFF
##5D7A151.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)
#817100
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#627468
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7a15;
/* rgb */ color: rgb(93, 122, 21);
/* oklch */ color: oklch(53.8% 0.127 125.2);
Tailwind
colors: {
  custom: {
    50: '#8ea05d',
    500: '#5d7a15',
    950: '#000000',
  },
}
SCSS
$custom: #5d7a15;
$custom-light: #8ea05d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7a15",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 77.228,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.12668,
    "h": 125.2
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#5D7A15
secondary
#5D3BAF
accent
#3AED6E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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