#507C2C#507C2C

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

Color values

HEX#507C2C
RGBrgb(80, 124, 44)
HSLhsl(93, 48%, 33%)
HSVhsv(93, 65%, 49%)
CMYKcmyk(35.5%, 0%, 64.5%, 51.4%)
CIE-LABlab(47.37, -29.70, 37.87)
CIE-LCHlch(47.37, 48.13, 128.10°)
OKLaboklab(53.62% -0.0829 0.0877)
OKLCHoklch(53.62% 0.121 133.4)
XYZxyz(10.9704, 16.3022, 4.9510)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C2C #582C7C
analogous
#787C2C #507C2C #2C7C30
triadic
#507C2C #2C507C #7C2C50
tetradic
#507C2C #2C787C #582C7C #7C302C
square
#507C2C #2C787C #582C7C #7C302C
split-complementary
#507C2C #302C7C #7C2C78
monochromatic
#16220C #334F1C #507C2C #6DA93C #8CC55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507C2C#FFFFFF#000000##FFFFFF
##507C2C1.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)
#817323
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#50776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c2c;
/* rgb */ color: rgb(80, 124, 44);
/* oklch */ color: oklch(53.6% 0.121 133.4);
Tailwind
colors: {
  custom: {
    50: '#84a269',
    500: '#507c2c',
    950: '#000000',
  },
}
SCSS
$custom: #507c2c;
$custom-light: #84a269;
$custom-dark: #000000;
JSON
{
  "hex": "#507c2c",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 93,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.12063,
    "h": 133.4
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#507C2C
secondary
#8658AC
accent
#51D79B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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