#507A35#507A35

#507A35 is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.109 H 134.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#507A35
RGBrgb(80, 122, 53)
HSLhsl(97, 39%, 34%)
HSVhsv(97, 57%, 48%)
CMYKcmyk(34.4%, 0%, 56.6%, 52.2%)
CIE-LABlab(46.82, -27.77, 32.80)
CIE-LCHlch(46.82, 42.98, 130.25°)
OKLaboklab(53.21% -0.0769 0.0777)
OKLCHoklch(53.21% 0.109 134.7)
XYZxyz(10.9102, 15.8811, 5.8580)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A35 #5F357A
analogous
#737A35 #507A35 #357A3D
triadic
#507A35 #35507A #7A3550
tetradic
#507A35 #35737A #5F357A #7A3D35
square
#507A35 #35737A #5F357A #7A3D35
split-complementary
#507A35 #3D357A #7A3573
monochromatic
#182510 #344F22 #507A35 #6CA548 #8CBF6B

Accessibility & contrast

On white

5.03
#507A35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#507A35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A35
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A35#FFFFFF#000000##FFFFFF
##507A351.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712E
Deuteranopia (green-blind)
#786E3A
Tritanopia (blue-blind)
#50766B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a35;
/* rgb */ color: rgb(80, 122, 53);
/* oklch */ color: oklch(53.2% 0.109 134.7);
Tailwind
colors: {
  custom: {
    50: '#84a06e',
    500: '#507a35',
    950: '#000000',
  },
}
SCSS
$custom: #507a35;
$custom-light: #84a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#507a35",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 53
  },
  "hsl": {
    "h": 96.522,
    "s": 39.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.10931,
    "h": 134.7
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#507A35
secondary
#8D64A7
accent
#58CFA1
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A35

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

Preview Lab → · Contrast checker → · Palette generator →

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