#507239#507239

#507239 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.093 H 134.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#507239
RGBrgb(80, 114, 57)
HSLhsl(96, 33%, 34%)
HSVhsv(96, 50%, 45%)
CMYKcmyk(29.8%, 0%, 50%, 55.3%)
CIE-LABlab(44.28, -23.30, 27.62)
CIE-LCHlch(44.28, 36.14, 130.14°)
OKLaboklab(51.17% -0.0642 0.0666)
OKLCHoklch(51.17% 0.093 134)
XYZxyz(10.0639, 14.0352, 6.0489)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507239 #5B3972
analogous
#6C7239 #507239 #39723E
triadic
#507239 #395072 #723950
tetradic
#507239 #396C72 #5B3972 #723E39
square
#507239 #396C72 #5B3972 #723E39
split-complementary
#507239 #3E3972 #72396C
monochromatic
#172010 #334925 #507239 #6D9B4D #8CB76F

Accessibility & contrast

On white

5.52
#507239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#507239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507239
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507239#FFFFFF#000000##FFFFFF
##5072391.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A34
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#506E65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #507239;
/* rgb */ color: rgb(80, 114, 57);
/* oklch */ color: oklch(51.2% 0.093 134.0);
Tailwind
colors: {
  custom: {
    50: '#839a70',
    500: '#507239',
    950: '#000000',
  },
}
SCSS
$custom: #507239;
$custom-light: #839a70;
$custom-dark: #000000;
JSON
{
  "hex": "#507239",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 95.789,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.09255,
    "h": 134
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#507239
secondary
#8967A0
accent
#5EC99E
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #507239

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

Preview Lab → · Contrast checker → · Palette generator →

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