#507115#507115

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

Color values

HEX#507115
RGBrgb(80, 113, 21)
HSLhsl(82, 69%, 26%)
HSVhsv(82, 81%, 44%)
CMYKcmyk(29.2%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.61, -26.13, 43.49)
CIE-LCHlch(43.61, 50.74, 121.00°)
OKLaboklab(50.51% -0.0751 0.096)
OKLCHoklch(50.51% 0.122 128)
XYZxyz(9.3488, 13.5696, 2.8360)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507115 #361571
analogous
#716415 #507115 #227115
triadic
#507115 #155071 #711550
tetradic
#507115 #157164 #361571 #711522
square
#507115 #157164 #361571 #711522
split-complementary
#507115 #152271 #641571
monochromatic
#121A05 #2B3D0B #507115 #75A51F #99D729

Accessibility & contrast

On white

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

On black

3.71
#507115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507115#FFFFFF#000000##FFFFFF
##5071151.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#73661F
Tritanopia (blue-blind)
#536C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507115;
/* rgb */ color: rgb(80, 113, 21);
/* oklch */ color: oklch(50.5% 0.122 128.0);
Tailwind
colors: {
  custom: {
    50: '#859a5b',
    500: '#507115',
    950: '#000000',
  },
}
SCSS
$custom: #507115;
$custom-light: #859a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#507115",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 81.522,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.12188,
    "h": 128
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#507115
secondary
#623BA7
accent
#3CEB7B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507115

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

Preview Lab → · Contrast checker → · Palette generator →

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