#507331#507331

#507331 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.103 H 132.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#507331
RGBrgb(80, 115, 49)
HSLhsl(92, 40%, 32%)
HSVhsv(92, 57%, 45%)
CMYKcmyk(30.4%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.50, -24.80, 32.14)
CIE-LCHlch(44.50, 40.59, 127.65°)
OKLaboklab(51.31% -0.069 0.0759)
OKLCHoklch(51.31% 0.103 132.3)
XYZxyz(9.9932, 14.1884, 5.1172)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507331 #543173
analogous
#717331 #507331 #317333
triadic
#507331 #315073 #733150
tetradic
#507331 #317173 #543173 #733331
square
#507331 #317173 #543173 #733331
split-complementary
#507331 #333173 #733171
monochromatic
#141D0C #32481F #507331 #6E9E43 #8CBC62

Accessibility & contrast

On white

5.47
#507331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#507331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507331
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507331#FFFFFF#000000##FFFFFF
##5073311.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2B
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#516F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #507331;
/* rgb */ color: rgb(80, 115, 49);
/* oklch */ color: oklch(51.3% 0.103 132.3);
Tailwind
colors: {
  custom: {
    50: '#839b6b',
    500: '#507331',
    950: '#000000',
  },
}
SCSS
$custom: #507331;
$custom-light: #839b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#507331",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 91.818,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.10256,
    "h": 132.3
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#507331
secondary
#825CA4
accent
#58D098
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #507331

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

Preview Lab → · Contrast checker → · Palette generator →

#507331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva