#507917#507917

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

Color values

HEX#507917
RGBrgb(80, 121, 23)
HSLhsl(85, 68%, 28%)
HSVhsv(85, 81%, 47%)
CMYKcmyk(33.9%, 0%, 81%, 52.5%)
CIE-LABlab(46.23, -29.87, 45.27)
CIE-LCHlch(46.23, 54.23, 123.41°)
OKLaboklab(52.65% -0.0851 0.1001)
OKLCHoklch(52.65% 0.131 130.4)
XYZxyz(10.3002, 15.4417, 3.2483)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507917 #401779
analogous
#797117 #507917 #1F7917
triadic
#507917 #175079 #791750
tetradic
#507917 #177971 #401779 #79171F
square
#507917 #177971 #401779 #79171F
split-complementary
#507917 #171F79 #711779
monochromatic
#111A05 #2E460D #507917 #72AC21 #93D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507917#FFFFFF#000000##FFFFFF
##5079171.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)
#796D21
Tritanopia (blue-blind)
#527367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #507917;
/* rgb */ color: rgb(80, 121, 23);
/* oklch */ color: oklch(52.6% 0.131 130.4);
Tailwind
colors: {
  custom: {
    50: '#85a05d',
    500: '#507917',
    950: '#000000',
  },
}
SCSS
$custom: #507917;
$custom-light: #85a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#507917",
  "rgb": {
    "r": 80,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 85.102,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.13134,
    "h": 130.4
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#507917
secondary
#6D3EAE
accent
#3DEB86
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #507917

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

Preview Lab → · Contrast checker → · Palette generator →

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