#87941C#87941C

#87941C 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#87941C
RGBrgb(135, 148, 28)
HSLhsl(67, 68%, 35%)
HSVhsv(67, 81%, 58%)
CMYKcmyk(8.8%, 0%, 81.1%, 42%)
CIE-LABlab(58.43, -19.54, 56.22)
CIE-LCHlch(58.43, 59.52, 109.17°)
OKLaboklab(63.5% -0.0598 0.1224)
OKLCHoklch(63.5% 0.136 116)
XYZxyz(20.7918, 26.4149, 5.1017)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87941C #291C94
analogous
#94651C #87941C #4B941C
triadic
#87941C #1C8794 #941C87
tetradic
#87941C #1C9465 #291C94 #941C4B
square
#87941C #1C9465 #291C94 #941C4B
split-complementary
#87941C #1C4B94 #651C94
monochromatic
#292D09 #586112 #87941C #B6C726 #CEDD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87941c;
/* rgb */ color: rgb(135, 148, 28);
/* oklch */ color: oklch(63.5% 0.136 116.0);
Tailwind
colors: {
  custom: {
    50: '#adb364',
    500: '#87941c',
    950: '#000000',
  },
}
SCSS
$custom: #87941c;
$custom-light: #adb364;
$custom-dark: #000000;
JSON
{
  "hex": "#87941c",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 66.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.13621,
    "h": 116
  },
  "luminance": 0.26415
}

Semantic roles & 50–950 ramp

primary
#87941C
secondary
#594CC0
accent
#3DEB50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87941C

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

Preview Lab → · Contrast checker → · Palette generator →

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