#507238#507238

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

Color values

HEX#507238
RGBrgb(80, 114, 56)
HSLhsl(95, 34%, 33%)
HSVhsv(95, 51%, 45%)
CMYKcmyk(29.8%, 0%, 50.9%, 55.3%)
CIE-LABlab(44.27, -23.43, 28.15)
CIE-LCHlch(44.27, 36.63, 129.77°)
OKLaboklab(51.15% -0.0647 0.0677)
OKLCHoklch(51.15% 0.094 133.7)
XYZxyz(10.0392, 14.0253, 5.9188)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507238 #5A3872
analogous
#6D7238 #507238 #38723D
triadic
#507238 #385072 #723850
tetradic
#507238 #386D72 #5A3872 #723D38
square
#507238 #386D72 #5A3872 #723D38
split-complementary
#507238 #3D3872 #72386D
monochromatic
#162010 #334924 #507238 #6D9B4C #8CB76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507238#FFFFFF#000000##FFFFFF
##5072381.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)
#766A33
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#506E64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #507238;
/* rgb */ color: rgb(80, 114, 56);
/* oklch */ color: oklch(51.1% 0.094 133.7);
Tailwind
colors: {
  custom: {
    50: '#839a70',
    500: '#507238',
    950: '#000000',
  },
}
SCSS
$custom: #507238;
$custom-light: #839a70;
$custom-dark: #000000;
JSON
{
  "hex": "#507238",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 95.172,
    "s": 34.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.09364,
    "h": 133.7
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#507238
secondary
#8865A1
accent
#5ECA9D
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #507238

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

Preview Lab → · Contrast checker → · Palette generator →

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