#507A2F#507A2F

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

Color values

HEX#507A2F
RGBrgb(80, 122, 47)
HSLhsl(94, 44%, 33%)
HSVhsv(94, 61%, 48%)
CMYKcmyk(34.4%, 0%, 61.5%, 52.2%)
CIE-LABlab(46.75, -28.44, 35.74)
CIE-LCHlch(46.75, 45.67, 128.51°)
OKLaboklab(53.13% -0.0792 0.0835)
OKLCHoklch(53.13% 0.115 133.5)
XYZxyz(10.7807, 15.8294, 5.1761)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A2F #592F7A
analogous
#757A2F #507A2F #2F7A33
triadic
#507A2F #2F507A #7A2F50
tetradic
#507A2F #2F757A #592F7A #7A332F
square
#507A2F #2F757A #592F7A #7A332F
split-complementary
#507A2F #332F7A #7A2F75
monochromatic
#16220D #334E1E #507A2F #6DA640 #8CC261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #507a2f;
/* rgb */ color: rgb(80, 122, 47);
/* oklch */ color: oklch(53.1% 0.115 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a06a',
    500: '#507a2f',
    950: '#000000',
  },
}
SCSS
$custom: #507a2f;
$custom-light: #84a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#507a2f",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 93.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.11504,
    "h": 133.5
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#507A2F
secondary
#875CA9
accent
#54D49C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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