#507A30#507A30

#507A30 is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.1% C 0.114 H 133.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#507A30
RGBrgb(80, 122, 48)
HSLhsl(94, 44%, 33%)
HSVhsv(94, 61%, 48%)
CMYKcmyk(34.4%, 0%, 60.7%, 52.2%)
CIE-LABlab(46.76, -28.34, 35.26)
CIE-LCHlch(46.76, 45.23, 128.79°)
OKLaboklab(53.14% -0.0788 0.0825)
OKLCHoklch(53.14% 0.114 133.7)
XYZxyz(10.8011, 15.8375, 5.2836)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A30 #5A307A
analogous
#757A30 #507A30 #307A35
triadic
#507A30 #30507A #7A3050
tetradic
#507A30 #30757A #5A307A #7A3530
square
#507A30 #30757A #5A307A #7A3530
split-complementary
#507A30 #35307A #7A3075
monochromatic
#16220D #334E1F #507A30 #6DA641 #8CC263

Accessibility & contrast

On white

5.04
#507A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#507A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A30
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A30#FFFFFF#000000##FFFFFF
##507A301.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7128
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#50756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a30;
/* rgb */ color: rgb(80, 122, 48);
/* oklch */ color: oklch(53.1% 0.114 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a06b',
    500: '#507a30',
    950: '#000000',
  },
}
SCSS
$custom: #507a30;
$custom-light: #84a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#507a30",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 94.054,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53139,
    "c": 0.11412,
    "h": 133.7
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#507A30
secondary
#885DA9
accent
#55D39C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A30

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

Preview Lab → · Contrast checker → · Palette generator →

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