#507223#507223

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

Color values

HEX#507223
RGBrgb(80, 114, 35)
HSLhsl(86, 53%, 29%)
HSVhsv(86, 69%, 45%)
CMYKcmyk(29.8%, 0%, 69.3%, 55.3%)
CIE-LABlab(44.03, -25.68, 38.39)
CIE-LCHlch(44.03, 46.19, 123.78°)
OKLaboklab(50.88% -0.0727 0.0876)
OKLCHoklch(50.88% 0.114 129.7)
XYZxyz(9.6289, 13.8612, 3.7579)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507223 #452372
analogous
#726D23 #507223 #297223
triadic
#507223 #235072 #722350
tetradic
#507223 #23726D #452372 #722329
square
#507223 #23726D #452372 #722329
split-complementary
#507223 #232972 #6D2372
monochromatic
#101707 #2F4315 #507223 #71A131 #91C748

Accessibility & contrast

On white

5.57
#507223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#507223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507223
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507223#FFFFFF#000000##FFFFFF
##5072231.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A18
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#526D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #507223;
/* rgb */ color: rgb(80, 114, 35);
/* oklch */ color: oklch(50.9% 0.114 129.7);
Tailwind
colors: {
  custom: {
    50: '#849a62',
    500: '#507223',
    950: '#000000',
  },
}
SCSS
$custom: #507223;
$custom-light: #849a62;
$custom-dark: #000000;
JSON
{
  "hex": "#507223",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 85.823,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.11378,
    "h": 129.7
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#507223
secondary
#724CA5
accent
#4BDC8A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #507223

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

Preview Lab → · Contrast checker → · Palette generator →

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