#87941A#87941A

#87941A is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.5% C 0.137 H 116.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#87941A
RGBrgb(135, 148, 26)
HSLhsl(66, 70%, 34%)
HSVhsv(66, 82%, 58%)
CMYKcmyk(8.8%, 0%, 82.4%, 42%)
CIE-LABlab(58.42, -19.62, 56.79)
CIE-LCHlch(58.42, 60.08, 109.06°)
OKLaboklab(63.49% -0.0601 0.1232)
OKLCHoklch(63.49% 0.137 116)
XYZxyz(20.7686, 26.4056, 4.9798)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87941A #271A94
analogous
#94641A #87941A #4A941A
triadic
#87941A #1A8794 #941A87
tetradic
#87941A #1A9464 #271A94 #941A4A
square
#87941A #1A9464 #271A94 #941A4A
split-complementary
#87941A #1A4A94 #641A94
monochromatic
#282C08 #586011 #87941A #B6C823 #CFDF49

Accessibility & contrast

On white

3.34
#87941A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#87941A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87941A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87941A#FFFFFF#000000##000000
##87941A1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9E8D27
Tritanopia (blue-blind)
#908B7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #87941a;
/* rgb */ color: rgb(135, 148, 26);
/* oklch */ color: oklch(63.5% 0.137 116.0);
Tailwind
colors: {
  custom: {
    50: '#aeb363',
    500: '#87941a',
    950: '#000000',
  },
}
SCSS
$custom: #87941a;
$custom-light: #aeb363;
$custom-dark: #000000;
JSON
{
  "hex": "#87941a",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 66.393,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63485,
    "c": 0.13712,
    "h": 116
  },
  "luminance": 0.26405
}

Semantic roles & 50–950 ramp

primary
#87941A
secondary
#5649C1
accent
#3BED4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87941A

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

Preview Lab → · Contrast checker → · Palette generator →

#87941A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva