#517823#517823

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

Color values

HEX#517823
RGBrgb(81, 120, 35)
HSLhsl(88, 55%, 30%)
HSVhsv(88, 71%, 47%)
CMYKcmyk(32.5%, 0%, 70.8%, 52.9%)
CIE-LABlab(46.05, -28.19, 40.52)
CIE-LCHlch(46.05, 49.36, 124.83°)
OKLaboklab(52.53% -0.0796 0.092)
OKLCHoklch(52.53% 0.122 130.9)
XYZxyz(10.4131, 15.3033, 3.9950)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517823 #4A2378
analogous
#787423 #517823 #277823
triadic
#517823 #235178 #782351
tetradic
#517823 #237874 #4A2378 #782327
square
#517823 #237874 #4A2378 #782327
split-complementary
#517823 #232778 #742378
monochromatic
#111907 #314915 #517823 #71A731 #90CA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517823#FFFFFF#000000##FFFFFF
##5178231.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)
#7D6F17
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#537367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #517823;
/* rgb */ color: rgb(81, 120, 35);
/* oklch */ color: oklch(52.5% 0.122 130.9);
Tailwind
colors: {
  custom: {
    50: '#859f63',
    500: '#517823',
    950: '#000000',
  },
}
SCSS
$custom: #517823;
$custom-light: #859f63;
$custom-dark: #000000;
JSON
{
  "hex": "#517823",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 87.529,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.12168,
    "h": 130.9
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#517823
secondary
#774CAB
accent
#4ADE8E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #517823

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

Preview Lab → · Contrast checker → · Palette generator →

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