#808231#808231

#808231 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.8% C 0.104 H 110.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#808231
RGBrgb(128, 130, 49)
HSLhsl(61, 45%, 35%)
HSVhsv(61, 62%, 51%)
CMYKcmyk(1.5%, 0%, 62.3%, 49%)
CIE-LABlab(52.70, -12.02, 42.36)
CIE-LCHlch(52.70, 44.03, 105.84°)
OKLaboklab(58.81% -0.0363 0.097)
OKLCHoklch(58.81% 0.104 110.5)
XYZxyz(17.4396, 20.7766, 5.9968)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808231 #333182
analogous
#825B31 #808231 #588231
triadic
#808231 #318082 #823180
tetradic
#808231 #31825B #333182 #823158
square
#808231 #31825B #333182 #823158
split-complementary
#808231 #315882 #5B3182
monochromatic
#28290F #545620 #808231 #ACAE42 #C4C668

Accessibility & contrast

On white

4.07
#808231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#808231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808231
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808231#FFFFFF#000000##000000
##8082311.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C27
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#897A71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808231;
/* rgb */ color: rgb(128, 130, 49);
/* oklch */ color: oklch(58.8% 0.104 110.5);
Tailwind
colors: {
  custom: {
    50: '#a7a66d',
    500: '#808231',
    950: '#000000',
  },
}
SCSS
$custom: #808231;
$custom-light: #a7a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#808231",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 61.481,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.10353,
    "h": 110.5
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#808231
secondary
#6362AD
accent
#53D556
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #808231

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

Preview Lab → · Contrast checker → · Palette generator →

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