#808728#808728

#808728 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 59.9% C 0.117 H 113.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#808728
RGBrgb(128, 135, 40)
HSLhsl(64, 54%, 34%)
HSVhsv(64, 70%, 53%)
CMYKcmyk(5.2%, 0%, 70.4%, 47.1%)
CIE-LABlab(54.10, -15.30, 47.74)
CIE-LCHlch(54.10, 50.13, 107.77°)
OKLaboklab(59.91% -0.0465 0.1069)
OKLCHoklch(59.91% 0.117 113.5)
XYZxyz(17.9496, 22.0707, 5.3216)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808728 #2F2887
analogous
#875F28 #808728 #518728
triadic
#808728 #288087 #872880
tetradic
#808728 #28875F #2F2887 #872851
square
#808728 #28875F #2F2887 #872851
split-complementary
#808728 #285187 #5F2887
monochromatic
#26290C #53581A #808728 #ADB636 #C6CE5B

Accessibility & contrast

On white

3.88
#808728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#808728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808728
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808728#FFFFFF#000000##000000
##8087281.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#897F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808728;
/* rgb */ color: rgb(128, 135, 40);
/* oklch */ color: oklch(59.9% 0.117 113.5);
Tailwind
colors: {
  custom: {
    50: '#a8a968',
    500: '#808728',
    950: '#000000',
  },
}
SCSS
$custom: #808728;
$custom-light: #a8a968;
$custom-dark: #000000;
JSON
{
  "hex": "#808728",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 64.421,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.11655,
    "h": 113.5
  },
  "luminance": 0.2207
}

Semantic roles & 50–950 ramp

primary
#808728
secondary
#5E57B4
accent
#4ADE55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808728

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

Preview Lab → · Contrast checker → · Palette generator →

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