#507A2D#507A2D

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

Color values

HEX#507A2D
RGBrgb(80, 122, 45)
HSLhsl(93, 46%, 33%)
HSVhsv(93, 63%, 48%)
CMYKcmyk(34.4%, 0%, 63.1%, 52.2%)
CIE-LABlab(46.73, -28.65, 36.68)
CIE-LCHlch(46.73, 46.54, 127.99°)
OKLaboklab(53.1% -0.0799 0.0853)
OKLCHoklch(53.1% 0.117 133.1)
XYZxyz(10.7413, 15.8136, 4.9685)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A2D #572D7A
analogous
#777A2D #507A2D #2D7A30
triadic
#507A2D #2D507A #7A2D50
tetradic
#507A2D #2D777A #572D7A #7A302D
square
#507A2D #2D777A #572D7A #7A302D
split-complementary
#507A2D #302D7A #7A2D77
monochromatic
#15210C #334D1D #507A2D #6DA73D #8CC45E

Accessibility & contrast

On white

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

On black

4.16
#507A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507A2D#FFFFFF#000000##FFFFFF
##507A2D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507a2d;
/* rgb */ color: rgb(80, 122, 45);
/* oklch */ color: oklch(53.1% 0.117 133.1);
Tailwind
colors: {
  custom: {
    50: '#84a069',
    500: '#507a2d',
    950: '#000000',
  },
}
SCSS
$custom: #507a2d;
$custom-light: #84a069;
$custom-dark: #000000;
JSON
{
  "hex": "#507a2d",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 92.727,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53103,
    "c": 0.11685,
    "h": 133.1
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#507A2D
secondary
#8559AA
accent
#52D69A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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