#808D23#808D23

#808D23 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.127 H 116.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#808D23
RGBrgb(128, 141, 35)
HSLhsl(67, 60%, 35%)
HSVhsv(67, 75%, 55%)
CMYKcmyk(9.2%, 0%, 75.2%, 44.7%)
CIE-LABlab(55.85, -18.72, 51.36)
CIE-LCHlch(55.85, 54.67, 110.03°)
OKLaboklab(61.3% -0.0565 0.1136)
OKLCHoklch(61.3% 0.127 116.4)
XYZxyz(18.7308, 23.7606, 5.1893)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D23 #30238D
analogous
#8D6523 #808D23 #4B8D23
triadic
#808D23 #23808D #8D2380
tetradic
#808D23 #238D65 #30238D #8D234B
square
#808D23 #238D65 #30238D #8D234B
split-complementary
#808D23 #234B8D #65238D
monochromatic
#272B0B #535C17 #808D23 #ADBE2F #C5D555

Accessibility & contrast

On white

3.65
#808D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#808D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D23
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D23#FFFFFF#000000##000000
##808D231.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850D
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d23;
/* rgb */ color: rgb(128, 141, 35);
/* oklch */ color: oklch(61.3% 0.127 116.4);
Tailwind
colors: {
  custom: {
    50: '#a8ae66',
    500: '#808d23',
    950: '#000000',
  },
}
SCSS
$custom: #808d23;
$custom-light: #a8ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#808d23",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 67.358,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.12689,
    "h": 116.4
  },
  "luminance": 0.2376
}

Semantic roles & 50–950 ramp

primary
#808D23
secondary
#5F53B9
accent
#44E358
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D23

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

Preview Lab → · Contrast checker → · Palette generator →

#808D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva