#507315#507315

#507315 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.125 H 128.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#507315
RGBrgb(80, 115, 21)
HSLhsl(82, 69%, 27%)
HSVhsv(82, 82%, 45%)
CMYKcmyk(30.4%, 0%, 81.7%, 54.9%)
CIE-LABlab(44.26, -27.11, 44.10)
CIE-LCHlch(44.26, 51.76, 121.58°)
OKLaboklab(51.04% -0.0778 0.0973)
OKLCHoklch(51.04% 0.125 128.6)
XYZxyz(9.5744, 14.0208, 2.9112)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507315 #381573
analogous
#736715 #507315 #217315
triadic
#507315 #155073 #731550
tetradic
#507315 #157367 #381573 #731521
square
#507315 #157367 #381573 #731521
split-complementary
#507315 #152173 #671573
monochromatic
#121A05 #2C3F0C #507315 #74A71E #97D82A

Accessibility & contrast

On white

5.52
#507315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#507315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507315
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507315#FFFFFF#000000##FFFFFF
##5073151.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#536D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #507315;
/* rgb */ color: rgb(80, 115, 21);
/* oklch */ color: oklch(51.0% 0.125 128.6);
Tailwind
colors: {
  custom: {
    50: '#859b5b',
    500: '#507315',
    950: '#000000',
  },
}
SCSS
$custom: #507315;
$custom-light: #859b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#507315",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 82.34,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.12452,
    "h": 128.6
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#507315
secondary
#643BA9
accent
#3CEC7D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507315

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

Preview Lab → · Contrast checker → · Palette generator →

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