#507232#507232

#507232 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.100 H 132.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#507232
RGBrgb(80, 114, 50)
HSLhsl(92, 39%, 32%)
HSVhsv(92, 56%, 45%)
CMYKcmyk(29.8%, 0%, 56.1%, 55.3%)
CIE-LABlab(44.19, -24.18, 31.25)
CIE-LCHlch(44.19, 39.51, 127.73°)
OKLaboklab(51.06% -0.0672 0.0741)
OKLCHoklch(51.06% 0.1 132.2)
XYZxyz(9.9012, 13.9701, 5.1918)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507232 #543272
analogous
#707232 #507232 #327234
triadic
#507232 #325072 #723250
tetradic
#507232 #327072 #543272 #723432
square
#507232 #327072 #543272 #723432
split-complementary
#507232 #343272 #723270
monochromatic
#141D0D #32471F #507232 #6E9D45 #8CBB64

Accessibility & contrast

On white

5.54
#507232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#507232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507232
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507232#FFFFFF#000000##FFFFFF
##5072321.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2C
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#516E64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #507232;
/* rgb */ color: rgb(80, 114, 50);
/* oklch */ color: oklch(51.1% 0.100 132.2);
Tailwind
colors: {
  custom: {
    50: '#839a6c',
    500: '#507232',
    950: '#000000',
  },
}
SCSS
$custom: #507232;
$custom-light: #839a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#507232",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 91.875,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.10001,
    "h": 132.2
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#507232
secondary
#825DA3
accent
#59CF98
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #507232

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

Preview Lab → · Contrast checker → · Palette generator →

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