#507229#507229

#507229 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.109 H 130.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#507229
RGBrgb(80, 114, 41)
HSLhsl(88, 47%, 30%)
HSVhsv(88, 64%, 45%)
CMYKcmyk(29.8%, 0%, 64%, 55.3%)
CIE-LABlab(44.09, -25.14, 35.66)
CIE-LCHlch(44.09, 43.63, 125.18°)
OKLaboklab(50.94% -0.0706 0.0826)
OKLCHoklch(50.94% 0.109 130.5)
XYZxyz(9.7257, 13.8999, 4.2679)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507229 #4B2972
analogous
#726F29 #507229 #2B7229
triadic
#507229 #295072 #722950
tetradic
#507229 #29726F #4B2972 #72292B
square
#507229 #29726F #4B2972 #72292B
split-complementary
#507229 #292B72 #6F2972
monochromatic
#111809 #304519 #507229 #709F39 #8EC154

Accessibility & contrast

On white

5.56
#507229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#507229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507229
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507229#FFFFFF#000000##FFFFFF
##5072291.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A21
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#526D63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #507229;
/* rgb */ color: rgb(80, 114, 41);
/* oklch */ color: oklch(50.9% 0.109 130.5);
Tailwind
colors: {
  custom: {
    50: '#849a66',
    500: '#507229',
    950: '#000000',
  },
}
SCSS
$custom: #507229;
$custom-light: #849a66;
$custom-dark: #000000;
JSON
{
  "hex": "#507229",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 87.945,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.10869,
    "h": 130.5
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#507229
secondary
#7953A4
accent
#51D78F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #507229

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

Preview Lab → · Contrast checker → · Palette generator →

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