#507C2E#507C2E

#507C2E is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.119 H 133.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#507C2E
RGBrgb(80, 124, 46)
HSLhsl(94, 46%, 33%)
HSVhsv(94, 63%, 49%)
CMYKcmyk(35.5%, 0%, 62.9%, 51.4%)
CIE-LABlab(47.39, -29.50, 36.94)
CIE-LCHlch(47.39, 47.28, 128.61°)
OKLaboklab(53.64% -0.0822 0.0859)
OKLCHoklch(53.64% 0.119 133.7)
XYZxyz(11.0089, 16.3176, 5.1538)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C2E #5A2E7C
analogous
#777C2E #507C2E #2E7C33
triadic
#507C2E #2E507C #7C2E50
tetradic
#507C2E #2E777C #5A2E7C #7C332E
square
#507C2E #2E777C #5A2E7C #7C332E
split-complementary
#507C2E #332E7C #7C2E77
monochromatic
#16230D #334F1D #507C2E #6DA93F #8CC460

Accessibility & contrast

On white

4.93
#507C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#507C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C2E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C2E#FFFFFF#000000##FFFFFF
##507C2E1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#50776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c2e;
/* rgb */ color: rgb(80, 124, 46);
/* oklch */ color: oklch(53.6% 0.119 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a26a',
    500: '#507c2e',
    950: '#000000',
  },
}
SCSS
$custom: #507c2e;
$custom-light: #84a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#507c2e",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 93.846,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.11889,
    "h": 133.7
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#507C2E
secondary
#885BAB
accent
#52D69C
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #507C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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