#507D2D#507D2D

#507D2D is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.121 H 133.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#507D2D
RGBrgb(80, 125, 45)
HSLhsl(94, 47%, 33%)
HSVhsv(94, 64%, 49%)
CMYKcmyk(36%, 0%, 64%, 51%)
CIE-LABlab(47.70, -30.07, 37.77)
CIE-LCHlch(47.70, 48.28, 128.53°)
OKLaboklab(53.9% -0.0838 0.0876)
OKLCHoklch(53.9% 0.121 133.7)
XYZxyz(11.1153, 16.5617, 5.0932)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D2D #5A2D7D
analogous
#787D2D #507D2D #2D7D32
triadic
#507D2D #2D507D #7D2D50
tetradic
#507D2D #2D787D #5A2D7D #7D322D
square
#507D2D #2D787D #5A2D7D #7D322D
split-complementary
#507D2D #322D7D #7D2D78
monochromatic
#16230D #33501D #507D2D #6DAA3D #8CC55F

Accessibility & contrast

On white

4.87
#507D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#507D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D2D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D2D#FFFFFF#000000##FFFFFF
##507D2D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827324
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#50786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d2d;
/* rgb */ color: rgb(80, 125, 45);
/* oklch */ color: oklch(53.9% 0.121 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a369',
    500: '#507d2d',
    950: '#000000',
  },
}
SCSS
$custom: #507d2d;
$custom-light: #84a369;
$custom-dark: #000000;
JSON
{
  "hex": "#507d2d",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 93.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.12121,
    "h": 133.7
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#507D2D
secondary
#885AAC
accent
#51D79C
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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