#507915#507915

#507915 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.132 H 130.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#507915
RGBrgb(80, 121, 21)
HSLhsl(85, 70%, 28%)
HSVhsv(85, 83%, 47%)
CMYKcmyk(33.9%, 0%, 82.6%, 52.5%)
CIE-LABlab(46.22, -29.97, 45.91)
CIE-LCHlch(46.22, 54.82, 123.14°)
OKLaboklab(52.63% -0.0855 0.1011)
OKLCHoklch(52.63% 0.132 130.2)
XYZxyz(10.2809, 15.4340, 3.1467)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507915 #3E1579
analogous
#797015 #507915 #1E7915
triadic
#507915 #155079 #791550
tetradic
#507915 #157970 #3E1579 #79151E
square
#507915 #157970 #3E1579 #79151E
split-complementary
#507915 #151E79 #701579
monochromatic
#111A05 #2E450C #507915 #72AD1E #94DB2E

Accessibility & contrast

On white

5.14
#507915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#507915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507915
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507915#FFFFFF#000000##FFFFFF
##5079151.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#527367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #507915;
/* rgb */ color: rgb(80, 121, 21);
/* oklch */ color: oklch(52.6% 0.132 130.2);
Tailwind
colors: {
  custom: {
    50: '#85a05c',
    500: '#507915',
    950: '#000000',
  },
}
SCSS
$custom: #507915;
$custom-light: #85a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#507915",
  "rgb": {
    "r": 80,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 84.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.13238,
    "h": 130.2
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#507915
secondary
#6B3BAF
accent
#3BED84
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507915

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

Preview Lab → · Contrast checker → · Palette generator →

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