#517824#517824

#517824 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.121 H 131.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#517824
RGBrgb(81, 120, 36)
HSLhsl(88, 54%, 31%)
HSVhsv(88, 70%, 47%)
CMYKcmyk(32.5%, 0%, 70%, 52.9%)
CIE-LABlab(46.05, -28.11, 40.10)
CIE-LCHlch(46.05, 48.97, 125.04°)
OKLaboklab(52.54% -0.0793 0.0913)
OKLCHoklch(52.54% 0.121 131)
XYZxyz(10.4282, 15.3093, 4.0743)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517824 #4B2478
analogous
#787524 #517824 #277824
triadic
#517824 #245178 #782451
tetradic
#517824 #247875 #4B2478 #782427
square
#517824 #247875 #4B2478 #782427
split-complementary
#517824 #242778 #752478
monochromatic
#111A08 #314916 #517824 #71A732 #90CA4D

Accessibility & contrast

On white

5.17
#517824 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#517824 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517824
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517824#FFFFFF#000000##FFFFFF
##5178241.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F18
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#537367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #517824;
/* rgb */ color: rgb(81, 120, 36);
/* oklch */ color: oklch(52.5% 0.121 131.0);
Tailwind
colors: {
  custom: {
    50: '#859f64',
    500: '#517824',
    950: '#000000',
  },
}
SCSS
$custom: #517824;
$custom-light: #859f64;
$custom-dark: #000000;
JSON
{
  "hex": "#517824",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 36
  },
  "hsl": {
    "h": 87.857,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.12092,
    "h": 131
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#517824
secondary
#794DAB
accent
#4BDD8F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #517824

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

Preview Lab → · Contrast checker → · Palette generator →

#517824 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva