#517023#517023

#517023 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.110 H 128.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#517023
RGBrgb(81, 112, 35)
HSLhsl(84, 52%, 29%)
HSVhsv(84, 69%, 44%)
CMYKcmyk(27.7%, 0%, 68.8%, 56.1%)
CIE-LABlab(43.45, -24.27, 37.79)
CIE-LCHlch(43.45, 44.91, 122.71°)
OKLaboklab(50.42% -0.0689 0.0863)
OKLCHoklch(50.42% 0.11 128.6)
XYZxyz(9.4909, 13.4588, 3.6876)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517023 #422370
analogous
#706923 #517023 #2B7023
triadic
#517023 #235170 #702351
tetradic
#517023 #237069 #422370 #70232B
square
#517023 #237069 #422370 #70232B
split-complementary
#517023 #232B70 #692370
monochromatic
#111707 #2F4114 #517023 #739F32 #93C648

Accessibility & contrast

On white

5.69
#517023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#517023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517023
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517023#FFFFFF#000000##FFFFFF
##5170231.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766819
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517023;
/* rgb */ color: rgb(81, 112, 35);
/* oklch */ color: oklch(50.4% 0.110 128.6);
Tailwind
colors: {
  custom: {
    50: '#849962',
    500: '#517023',
    950: '#000000',
  },
}
SCSS
$custom: #517023;
$custom-light: #849962;
$custom-dark: #000000;
JSON
{
  "hex": "#517023",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 35
  },
  "hsl": {
    "h": 84.156,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.11038,
    "h": 128.6
  },
  "luminance": 0.13459
}

Semantic roles & 50–950 ramp

primary
#517023
secondary
#6F4CA3
accent
#4CDC86
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #517023

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

Preview Lab → · Contrast checker → · Palette generator →

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