#508233#508233

#508233 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.123 H 135.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#508233
RGBrgb(80, 130, 51)
HSLhsl(98, 44%, 35%)
HSVhsv(98, 61%, 51%)
CMYKcmyk(38.5%, 0%, 60.8%, 49%)
CIE-LABlab(49.39, -31.78, 36.79)
CIE-LCHlch(49.39, 48.62, 130.83°)
OKLaboklab(55.29% -0.088 0.0861)
OKLCHoklch(55.29% 0.123 135.6)
XYZxyz(11.8882, 17.9092, 5.9618)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508233 #653382
analogous
#778233 #508233 #33823E
triadic
#508233 #335082 #823350
tetradic
#508233 #337782 #653382 #823E33
square
#508233 #337782 #653382 #823E33
split-complementary
#508233 #3E3382 #823377
monochromatic
#1A2A11 #355622 #508233 #6BAE44 #8CC56B

Accessibility & contrast

On white

4.58
#508233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#508233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508233
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508233#FFFFFF#000000##000000
##5082331.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87782B
Deuteranopia (green-blind)
#7F7439
Tritanopia (blue-blind)
#4F7D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508233;
/* rgb */ color: rgb(80, 130, 51);
/* oklch */ color: oklch(55.3% 0.123 135.6);
Tailwind
colors: {
  custom: {
    50: '#85a66e',
    500: '#508233',
    950: '#000000',
  },
}
SCSS
$custom: #508233;
$custom-light: #85a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#508233",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 97.975,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.12316,
    "h": 135.6
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#508233
secondary
#9264AD
accent
#54D3A5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508233

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

Preview Lab → · Contrast checker → · Palette generator →

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