#808142#808142

#808142 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.085 H 109.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#808142
RGBrgb(128, 129, 66)
HSLhsl(61, 32%, 38%)
HSVhsv(61, 49%, 51%)
CMYKcmyk(0.8%, 0%, 48.8%, 49.4%)
CIE-LABlab(52.60, -9.97, 33.78)
CIE-LCHlch(52.60, 35.22, 106.45°)
OKLaboklab(58.79% -0.0286 0.0804)
OKLCHoklch(58.79% 0.085 109.6)
XYZxyz(17.7361, 20.6834, 8.2112)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808142 #434281
analogous
#816242 #808142 #608142
triadic
#808142 #428081 #814280
tetradic
#808142 #428162 #434281 #814260
square
#808142 #428162 #434281 #814260
split-complementary
#808142 #426081 #624281
monochromatic
#303019 #58592D #808142 #A8A957 #BDBE80

Accessibility & contrast

On white

4.09
#808142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#808142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808142
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808142#FFFFFF#000000##000000
##8081421.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3C
Deuteranopia (green-blind)
#8A7F45
Tritanopia (blue-blind)
#887A72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808142;
/* rgb */ color: rgb(128, 129, 66);
/* oklch */ color: oklch(58.8% 0.085 109.6);
Tailwind
colors: {
  custom: {
    50: '#a6a578',
    500: '#808142',
    950: '#000000',
  },
}
SCSS
$custom: #808142;
$custom-light: #a6a578;
$custom-dark: #000000;
JSON
{
  "hex": "#808142",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 60.952,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.08535,
    "h": 109.6
  },
  "luminance": 0.20683
}

Semantic roles & 50–950 ramp

primary
#808142
secondary
#7776A9
accent
#5FC861
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #808142

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

Preview Lab → · Contrast checker → · Palette generator →

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