#808125#808125

#808125 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.112 H 110.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#808125
RGBrgb(128, 129, 37)
HSLhsl(61, 55%, 33%)
HSVhsv(61, 71%, 51%)
CMYKcmyk(0.8%, 0%, 71.3%, 49.4%)
CIE-LABlab(52.31, -12.26, 47.17)
CIE-LCHlch(52.31, 48.74, 104.57°)
OKLaboklab(58.47% -0.0383 0.1051)
OKLCHoklch(58.47% 0.112 110)
XYZxyz(17.0869, 20.4238, 4.7920)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808125 #262581
analogous
#815425 #808125 #528125
triadic
#808125 #258081 #812580
tetradic
#808125 #258154 #262581 #812552
square
#808125 #258154 #262581 #812552
split-complementary
#808125 #255281 #542581
monochromatic
#22220A #515117 #808125 #AFB133 #CCCE53

Accessibility & contrast

On white

4.13
#808125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#808125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808125
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808125#FFFFFF#000000##000000
##8081251.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B16
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#89796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808125;
/* rgb */ color: rgb(128, 129, 37);
/* oklch */ color: oklch(58.5% 0.112 110.0);
Tailwind
colors: {
  custom: {
    50: '#a8a566',
    500: '#808125',
    950: '#000000',
  },
}
SCSS
$custom: #808125;
$custom-light: #a8a566;
$custom-dark: #000000;
JSON
{
  "hex": "#808125",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 60.652,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.1119,
    "h": 110
  },
  "luminance": 0.20423
}

Semantic roles & 50–950 ramp

primary
#808125
secondary
#5150B2
accent
#49DF4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808125

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

Preview Lab → · Contrast checker → · Palette generator →

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