#507237#507237

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

Color values

HEX#507237
RGBrgb(80, 114, 55)
HSLhsl(95, 35%, 33%)
HSVhsv(95, 52%, 45%)
CMYKcmyk(29.8%, 0%, 51.8%, 55.3%)
CIE-LABlab(44.26, -23.56, 28.67)
CIE-LCHlch(44.26, 37.11, 129.41°)
OKLaboklab(51.13% -0.0651 0.0688)
OKLCHoklch(51.13% 0.095 133.4)
XYZxyz(10.0150, 14.0156, 5.7913)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507237 #593772
analogous
#6D7237 #507237 #37723B
triadic
#507237 #375072 #723750
tetradic
#507237 #376D72 #593772 #723B37
square
#507237 #376D72 #593772 #723B37
split-complementary
#507237 #3B3772 #72376D
monochromatic
#161F0F #334923 #507237 #6D9B4B #8CB86C

Accessibility & contrast

On white

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

On black

3.80
#507237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507237#FFFFFF#000000##FFFFFF
##5072371.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A32
Deuteranopia (green-blind)
#71683B
Tritanopia (blue-blind)
#506E64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #507237;
/* rgb */ color: rgb(80, 114, 55);
/* oklch */ color: oklch(51.1% 0.095 133.4);
Tailwind
colors: {
  custom: {
    50: '#839a6f',
    500: '#507237',
    950: '#000000',
  },
}
SCSS
$custom: #507237;
$custom-light: #839a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#507237",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 55
  },
  "hsl": {
    "h": 94.576,
    "s": 34.911,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.09473,
    "h": 133.4
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#507237
secondary
#8764A1
accent
#5DCB9C
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #507237

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

Preview Lab → · Contrast checker → · Palette generator →

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