#507A27#507A27

#507A27 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.122 H 132.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#507A27
RGBrgb(80, 122, 39)
HSLhsl(90, 52%, 32%)
HSVhsv(90, 68%, 48%)
CMYKcmyk(34.4%, 0%, 68%, 52.2%)
CIE-LABlab(46.67, -29.21, 39.41)
CIE-LCHlch(46.67, 49.05, 126.55°)
OKLaboklab(53.04% -0.082 0.0903)
OKLCHoklch(53.04% 0.122 132.2)
XYZxyz(10.6339, 15.7706, 4.4028)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A27 #51277A
analogous
#7A7A27 #507A27 #277A27
triadic
#507A27 #27507A #7A2750
tetradic
#507A27 #277A7A #51277A #7A2727
square
#507A27 #277A7A #51277A #7A2727
split-complementary
#507A27 #27277A #7A277A
monochromatic
#131D09 #324C18 #507A27 #6EA836 #8DC853

Accessibility & contrast

On white

5.06
#507A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#507A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A27
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A27#FFFFFF#000000##FFFFFF
##507A271.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711C
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#517569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a27;
/* rgb */ color: rgb(80, 122, 39);
/* oklch */ color: oklch(53.0% 0.122 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a066',
    500: '#507a27',
    950: '#000000',
  },
}
SCSS
$custom: #507a27;
$custom-light: #84a066;
$custom-dark: #000000;
JSON
{
  "hex": "#507a27",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 90.361,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.12193,
    "h": 132.2
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#507A27
secondary
#7F51AC
accent
#4DDB95
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A27

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

Preview Lab → · Contrast checker → · Palette generator →

#507A27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva