#517C1C#517C1C

#517C1C is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.132 H 131.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#517C1C
RGBrgb(81, 124, 28)
HSLhsl(87, 63%, 30%)
HSVhsv(87, 77%, 49%)
CMYKcmyk(34.7%, 0%, 77.4%, 51.4%)
CIE-LABlab(47.30, -30.58, 44.56)
CIE-LCHlch(47.30, 54.04, 124.46°)
OKLaboklab(53.54% -0.0867 0.0994)
OKLCHoklch(53.54% 0.132 131.1)
XYZxyz(10.8105, 16.2481, 3.6650)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517C1C #471C7C
analogous
#7C771C #517C1C #217C1C
triadic
#517C1C #1C517C #7C1C51
tetradic
#517C1C #1C7C77 #471C7C #7C1C21
square
#517C1C #1C7C77 #471C7C #7C1C21
split-complementary
#517C1C #1C217C #771C7C
monochromatic
#101906 #304A11 #517C1C #72AE27 #91D43F

Accessibility & contrast

On white

4.94
#517C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#517C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517C1C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517C1C#FFFFFF#000000##FFFFFF
##517C1C1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827207
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#53776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517c1c;
/* rgb */ color: rgb(81, 124, 28);
/* oklch */ color: oklch(53.5% 0.132 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a260',
    500: '#517c1c',
    950: '#000000',
  },
}
SCSS
$custom: #517c1c;
$custom-light: #86a260;
$custom-dark: #000000;
JSON
{
  "hex": "#517c1c",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 86.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.13188,
    "h": 131.1
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#517C1C
secondary
#7444B0
accent
#42E68B
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #517C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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