#507E35#507E35

#507E35 is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.3% C 0.115 H 135.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#507E35
RGBrgb(80, 126, 53)
HSLhsl(98, 41%, 35%)
HSVhsv(98, 58%, 49%)
CMYKcmyk(36.5%, 0%, 57.9%, 50.6%)
CIE-LABlab(48.11, -29.69, 34.33)
CIE-LCHlch(48.11, 45.38, 130.85°)
OKLaboklab(54.26% -0.0821 0.081)
OKLCHoklch(54.26% 0.115 135.4)
XYZxyz(11.4115, 16.8837, 6.0251)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E35 #63357E
analogous
#757E35 #507E35 #357E3E
triadic
#507E35 #35507E #7E3550
tetradic
#507E35 #35757E #63357E #7E3E35
square
#507E35 #35757E #63357E #7E3E35
split-complementary
#507E35 #3E357E #7E3575
monochromatic
#192811 #355323 #507E35 #6BA947 #8CC16C

Accessibility & contrast

On white

4.80
#507E35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#507E35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E35
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E35#FFFFFF#000000##FFFFFF
##507E351.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82752E
Deuteranopia (green-blind)
#7C713A
Tritanopia (blue-blind)
#4F7A6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e35;
/* rgb */ color: rgb(80, 126, 53);
/* oklch */ color: oklch(54.3% 0.115 135.4);
Tailwind
colors: {
  custom: {
    50: '#84a36f',
    500: '#507e35',
    950: '#000000',
  },
}
SCSS
$custom: #507e35;
$custom-light: #84a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#507e35",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 53
  },
  "hsl": {
    "h": 97.808,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.11537,
    "h": 135.4
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#507E35
secondary
#9065AA
accent
#57D1A4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #507E35

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

Preview Lab → · Contrast checker → · Palette generator →

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