#808725#808725

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

Color values

HEX#808725
RGBrgb(128, 135, 37)
HSLhsl(64, 57%, 34%)
HSVhsv(64, 73%, 53%)
CMYKcmyk(5.2%, 0%, 72.6%, 47.1%)
CIE-LABlab(54.08, -15.47, 48.91)
CIE-LCHlch(54.08, 51.30, 107.55°)
OKLaboklab(59.88% -0.0473 0.1088)
OKLCHoklch(59.88% 0.119 113.5)
XYZxyz(17.9005, 22.0511, 5.0632)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808725 #2C2587
analogous
#875D25 #808725 #4F8725
triadic
#808725 #258087 #872580
tetradic
#808725 #25875D #2C2587 #87254F
square
#808725 #25875D #2C2587 #87254F
split-complementary
#808725 #254F87 #5D2587
monochromatic
#25270B #525718 #808725 #AEB732 #C8D156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808725#FFFFFF#000000##000000
##8087251.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)
#918014
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#897F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808725;
/* rgb */ color: rgb(128, 135, 37);
/* oklch */ color: oklch(59.9% 0.119 113.5);
Tailwind
colors: {
  custom: {
    50: '#a8a967',
    500: '#808725',
    950: '#000000',
  },
}
SCSS
$custom: #808725;
$custom-light: #a8a967;
$custom-dark: #000000;
JSON
{
  "hex": "#808725",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 64.286,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59884,
    "c": 0.11863,
    "h": 113.5
  },
  "luminance": 0.22051
}

Semantic roles & 50–950 ramp

primary
#808725
secondary
#5A53B5
accent
#48E052
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808725

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

Preview Lab → · Contrast checker → · Palette generator →

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