#507117#507117

#507117 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.121 H 128.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#507117
RGBrgb(80, 113, 23)
HSLhsl(82, 66%, 27%)
HSVhsv(82, 80%, 44%)
CMYKcmyk(29.2%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.62, -26.02, 42.81)
CIE-LCHlch(43.62, 50.10, 121.29°)
OKLaboklab(50.52% -0.0747 0.0949)
OKLCHoklch(50.52% 0.121 128.2)
XYZxyz(9.3681, 13.5774, 2.9376)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507117 #381771
analogous
#716517 #507117 #237117
triadic
#507117 #175071 #711750
tetradic
#507117 #177165 #381771 #711723
square
#507117 #177165 #381771 #711723
split-complementary
#507117 #172371 #651771
monochromatic
#121905 #2C3E0D #507117 #74A421 #97D42E

Accessibility & contrast

On white

5.65
#507117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#507117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507117
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507117#FFFFFF#000000##FFFFFF
##5071171.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#536C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507117;
/* rgb */ color: rgb(80, 113, 23);
/* oklch */ color: oklch(50.5% 0.121 128.2);
Tailwind
colors: {
  custom: {
    50: '#849a5c',
    500: '#507117',
    950: '#000000',
  },
}
SCSS
$custom: #507117;
$custom-light: #849a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#507117",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 82,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.12075,
    "h": 128.2
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#507117
secondary
#643DA7
accent
#3FE97D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507117

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

Preview Lab → · Contrast checker → · Palette generator →

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