#507124#507124

#507124 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.112 H 129.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#507124
RGBrgb(80, 113, 36)
HSLhsl(86, 52%, 29%)
HSVhsv(86, 68%, 44%)
CMYKcmyk(29.2%, 0%, 68.1%, 55.7%)
CIE-LABlab(43.72, -25.10, 37.60)
CIE-LCHlch(43.72, 45.21, 123.72°)
OKLaboklab(50.63% -0.071 0.086)
OKLCHoklch(50.63% 0.112 129.5)
XYZxyz(9.5318, 13.6429, 3.7999)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507124 #452471
analogous
#716C24 #507124 #2A7124
triadic
#507124 #245071 #712450
tetradic
#507124 #24716C #452471 #71242A
square
#507124 #24716C #452471 #71242A
split-complementary
#507124 #242A71 #6C2471
monochromatic
#101707 #2F4315 #507124 #719F33 #91C54A

Accessibility & contrast

On white

5.63
#507124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#507124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507124
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507124#FFFFFF#000000##FFFFFF
##5071241.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691A
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#526C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507124;
/* rgb */ color: rgb(80, 113, 36);
/* oklch */ color: oklch(50.6% 0.112 129.5);
Tailwind
colors: {
  custom: {
    50: '#849a63',
    500: '#507124',
    950: '#000000',
  },
}
SCSS
$custom: #507124;
$custom-light: #849a63;
$custom-dark: #000000;
JSON
{
  "hex": "#507124",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 85.714,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.11154,
    "h": 129.5
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#507124
secondary
#724DA4
accent
#4DDB8A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #507124

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

Preview Lab → · Contrast checker → · Palette generator →

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