#87941D#87941D

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

Color values

HEX#87941D
RGBrgb(135, 148, 29)
HSLhsl(67, 67%, 35%)
HSVhsv(67, 80%, 58%)
CMYKcmyk(8.8%, 0%, 80.4%, 42%)
CIE-LABlab(58.43, -19.51, 55.93)
CIE-LCHlch(58.43, 59.23, 109.23°)
OKLaboklab(63.5% -0.0596 0.122)
OKLCHoklch(63.5% 0.136 116)
XYZxyz(20.8039, 26.4197, 5.1657)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87941D #2A1D94
analogous
#94661D #87941D #4B941D
triadic
#87941D #1D8794 #941D87
tetradic
#87941D #1D9466 #2A1D94 #941D4B
square
#87941D #1D9466 #2A1D94 #941D4B
split-complementary
#87941D #1D4B94 #661D94
monochromatic
#2A2E09 #586113 #87941D #B6C727 #CDDC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87941D#FFFFFF#000000##000000
##87941D1.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)
#9E8D29
Tritanopia (blue-blind)
#908B7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #87941d;
/* rgb */ color: rgb(135, 148, 29);
/* oklch */ color: oklch(63.5% 0.136 116.0);
Tailwind
colors: {
  custom: {
    50: '#adb365',
    500: '#87941d',
    950: '#000000',
  },
}
SCSS
$custom: #87941d;
$custom-light: #adb365;
$custom-dark: #000000;
JSON
{
  "hex": "#87941d",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 66.555,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.635,
    "c": 0.13573,
    "h": 116
  },
  "luminance": 0.26419
}

Semantic roles & 50–950 ramp

primary
#87941D
secondary
#5A4EBF
accent
#3EEA51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87941D

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

Preview Lab → · Contrast checker → · Palette generator →

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