#507A2E#507A2E

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

Color values

HEX#507A2E
RGBrgb(80, 122, 46)
HSLhsl(93, 45%, 33%)
HSVhsv(93, 62%, 48%)
CMYKcmyk(34.4%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.74, -28.55, 36.21)
CIE-LCHlch(46.74, 46.11, 128.25°)
OKLaboklab(53.12% -0.0795 0.0844)
OKLCHoklch(53.12% 0.116 133.3)
XYZxyz(10.7608, 15.8214, 5.0711)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A2E #582E7A
analogous
#767A2E #507A2E #2E7A32
triadic
#507A2E #2E507A #7A2E50
tetradic
#507A2E #2E767A #582E7A #7A322E
square
#507A2E #2E767A #582E7A #7A322E
split-complementary
#507A2E #322E7A #7A2E76
monochromatic
#16210C #334E1D #507A2E #6DA63F #8CC360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507A2E#FFFFFF#000000##FFFFFF
##507A2E1.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)
#7F7126
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#50756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a2e;
/* rgb */ color: rgb(80, 122, 46);
/* oklch */ color: oklch(53.1% 0.116 133.3);
Tailwind
colors: {
  custom: {
    50: '#84a06a',
    500: '#507a2e',
    950: '#000000',
  },
}
SCSS
$custom: #507a2e;
$custom-light: #84a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#507a2e",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 93.158,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.11596,
    "h": 133.3
  },
  "luminance": 0.15822
}

Semantic roles & 50–950 ramp

primary
#507A2E
secondary
#865AAA
accent
#53D59B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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