#808D28#808D28

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

Color values

HEX#808D28
RGBrgb(128, 141, 40)
HSLhsl(68, 56%, 35%)
HSVhsv(68, 72%, 55%)
CMYKcmyk(9.2%, 0%, 71.6%, 44.7%)
CIE-LABlab(55.88, -18.45, 49.52)
CIE-LCHlch(55.88, 52.84, 110.43°)
OKLaboklab(61.33% -0.0553 0.1106)
OKLCHoklch(61.33% 0.124 116.6)
XYZxyz(18.8104, 23.7924, 5.6085)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D28 #35288D
analogous
#8D6728 #808D28 #4D8D28
triadic
#808D28 #28808D #8D2880
tetradic
#808D28 #288D67 #35288D #8D284D
square
#808D28 #288D67 #35288D #8D284D
split-complementary
#808D28 #284D8D #67288D
monochromatic
#292E0D #555D1A #808D28 #ABBD36 #C3D15E

Accessibility & contrast

On white

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

On black

5.76
#808D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D28
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D28#FFFFFF#000000##000000
##808D281.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978517
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d28;
/* rgb */ color: rgb(128, 141, 40);
/* oklch */ color: oklch(61.3% 0.124 116.6);
Tailwind
colors: {
  custom: {
    50: '#a8ae69',
    500: '#808d28',
    950: '#000000',
  },
}
SCSS
$custom: #808d28;
$custom-light: #a8ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#808d28",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 67.723,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.12365,
    "h": 116.6
  },
  "luminance": 0.23792
}

Semantic roles & 50–950 ramp

primary
#808D28
secondary
#665AB7
accent
#49DF5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D28

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

Preview Lab → · Contrast checker → · Palette generator →

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