#507B2C#507B2C

#507B2C is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.119 H 133.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#507B2C
RGBrgb(80, 123, 44)
HSLhsl(93, 47%, 33%)
HSVhsv(93, 64%, 48%)
CMYKcmyk(35%, 0%, 64.2%, 51.8%)
CIE-LABlab(47.04, -29.22, 37.51)
CIE-LCHlch(47.04, 47.55, 127.92°)
OKLaboklab(53.36% -0.0816 0.0869)
OKLCHoklch(53.36% 0.119 133.2)
XYZxyz(10.8457, 16.0528, 4.9094)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B2C #572C7B
analogous
#777B2C #507B2C #2C7B2F
triadic
#507B2C #2C507B #7B2C50
tetradic
#507B2C #2C777B #572C7B #7B2F2C
square
#507B2C #2C777B #572C7B #7B2F2C
split-complementary
#507B2C #2F2C7B #7B2C77
monochromatic
#15210C #334E1C #507B2C #6DA83C #8CC55D

Accessibility & contrast

On white

4.99
#507B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#507B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B2C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B2C#FFFFFF#000000##FFFFFF
##507B2C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#50766A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507b2c;
/* rgb */ color: rgb(80, 123, 44);
/* oklch */ color: oklch(53.4% 0.119 133.2);
Tailwind
colors: {
  custom: {
    50: '#84a169',
    500: '#507b2c',
    950: '#000000',
  },
}
SCSS
$custom: #507b2c;
$custom-light: #84a169;
$custom-dark: #000000;
JSON
{
  "hex": "#507b2c",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 92.658,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.11919,
    "h": 133.2
  },
  "luminance": 0.16053
}

Semantic roles & 50–950 ramp

primary
#507B2C
secondary
#8558AB
accent
#51D79A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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