#5D7F16#5D7F16

#5D7F16 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.133 H 126.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5D7F16
RGBrgb(93, 127, 22)
HSLhsl(79, 70%, 29%)
HSVhsv(79, 83%, 50%)
CMYKcmyk(26.8%, 0%, 82.7%, 50.2%)
CIE-LABlab(48.96, -27.46, 48.39)
CIE-LCHlch(48.96, 55.64, 119.57°)
OKLaboklab(55.08% -0.0795 0.1061)
OKLCHoklch(55.08% 0.133 126.8)
XYZxyz(12.2485, 17.5636, 3.5037)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7F16 #38167F
analogous
#7F6D16 #5D7F16 #287F16
triadic
#5D7F16 #165D7F #7F165D
tetradic
#5D7F16 #167F6D #38167F #7F1628
square
#5D7F16 #167F6D #38167F #7F1628
split-complementary
#5D7F16 #16287F #6D167F
monochromatic
#131A05 #374B0D #5D7F16 #83B31F #A5DC34

Accessibility & contrast

On white

4.65
#5D7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5D7F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7F16
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7F16#FFFFFF#000000##FFFFFF
##5D7F161.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817421
Tritanopia (blue-blind)
#61796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7f16;
/* rgb */ color: rgb(93, 127, 22);
/* oklch */ color: oklch(55.1% 0.133 126.8);
Tailwind
colors: {
  custom: {
    50: '#8fa45e',
    500: '#5d7f16',
    950: '#000000',
  },
}
SCSS
$custom: #5d7f16;
$custom-light: #8fa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7f16",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 79.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.13257,
    "h": 126.8
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#5D7F16
secondary
#633DB4
accent
#3BED74
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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