#508323#508323

#508323 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.137 H 133.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#508323
RGBrgb(80, 131, 35)
HSLhsl(92, 58%, 33%)
HSVhsv(92, 73%, 51%)
CMYKcmyk(38.9%, 0%, 73.3%, 48.6%)
CIE-LABlab(49.57, -33.70, 44.12)
CIE-LCHlch(49.57, 55.51, 127.37°)
OKLaboklab(55.39% -0.0945 0.0996)
OKLCHoklch(55.39% 0.137 133.5)
XYZxyz(11.7277, 18.0589, 4.4576)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508323 #562383
analogous
#808323 #508323 #238326
triadic
#508323 #235083 #832350
tetradic
#508323 #238083 #562383 #832623
square
#508323 #238083 #562383 #832623
split-complementary
#508323 #262383 #832380
monochromatic
#152209 #335316 #508323 #6DB330 #8CD050

Accessibility & contrast

On white

4.55
#508323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#508323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508323
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508323#FFFFFF#000000##000000
##5083231.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#507E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508323;
/* rgb */ color: rgb(80, 131, 35);
/* oklch */ color: oklch(55.4% 0.137 133.5);
Tailwind
colors: {
  custom: {
    50: '#85a764',
    500: '#508323',
    950: '#000000',
  },
}
SCSS
$custom: #508323;
$custom-light: #85a764;
$custom-dark: #000000;
JSON
{
  "hex": "#508323",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 91.875,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.1373,
    "h": 133.5
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#508323
secondary
#844EB4
accent
#47E199
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #508323

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

Preview Lab → · Contrast checker → · Palette generator →

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