#517E23#517E23

#517E23 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.130 H 132.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#517E23
RGBrgb(81, 126, 35)
HSLhsl(90, 57%, 32%)
HSVhsv(90, 72%, 49%)
CMYKcmyk(35.7%, 0%, 72.2%, 50.6%)
CIE-LABlab(48.00, -31.03, 42.53)
CIE-LCHlch(48.00, 52.65, 126.11°)
OKLaboklab(54.12% -0.0873 0.0962)
OKLCHoklch(54.12% 0.13 132.2)
XYZxyz(11.1574, 16.7919, 4.2431)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E23 #50237E
analogous
#7E7E23 #517E23 #247E23
triadic
#517E23 #23517E #7E2351
tetradic
#517E23 #237E7E #50237E #7E2324
square
#517E23 #237E7E #50237E #7E2324
split-complementary
#517E23 #23247E #7E237E
monochromatic
#131E08 #324E16 #517E23 #70AE30 #8ECE4E

Accessibility & contrast

On white

4.82
#517E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#517E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E23
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E23#FFFFFF#000000##FFFFFF
##517E231.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#52796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e23;
/* rgb */ color: rgb(81, 126, 35);
/* oklch */ color: oklch(54.1% 0.130 132.2);
Tailwind
colors: {
  custom: {
    50: '#86a364',
    500: '#517e23',
    950: '#000000',
  },
}
SCSS
$custom: #517e23;
$custom-light: #86a364;
$custom-dark: #000000;
JSON
{
  "hex": "#517e23",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 89.67,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.12996,
    "h": 132.2
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#517E23
secondary
#7E4CB0
accent
#48E093
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517E23

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

Preview Lab → · Contrast checker → · Palette generator →

#517E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva