#507A2C#507A2C

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

Color values

HEX#507A2C
RGBrgb(80, 122, 44)
HSLhsl(92, 47%, 33%)
HSVhsv(92, 64%, 48%)
CMYKcmyk(34.4%, 0%, 63.9%, 52.2%)
CIE-LABlab(46.72, -28.75, 37.15)
CIE-LCHlch(46.72, 46.97, 127.73°)
OKLaboklab(53.09% -0.0803 0.0861)
OKLCHoklch(53.09% 0.118 133)
XYZxyz(10.7223, 15.8060, 4.8683)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A2C #562C7A
analogous
#777A2C #507A2C #2C7A2F
triadic
#507A2C #2C507A #7A2C50
tetradic
#507A2C #2C777A #562C7A #7A2F2C
square
#507A2C #2C777A #562C7A #7A2F2C
split-complementary
#507A2C #2F2C7A #7A2C77
monochromatic
#15200C #334D1C #507A2C #6DA73C #8CC45C

Accessibility & contrast

On white

5.05
#507A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507A2C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A2C#FFFFFF#000000##FFFFFF
##507A2C1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507a2c;
/* rgb */ color: rgb(80, 122, 44);
/* oklch */ color: oklch(53.1% 0.118 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a069',
    500: '#507a2c',
    950: '#000000',
  },
}
SCSS
$custom: #507a2c;
$custom-light: #84a069;
$custom-dark: #000000;
JSON
{
  "hex": "#507a2c",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 92.308,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.11774,
    "h": 133
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#507A2C
secondary
#8457AA
accent
#51D799
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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