#87941E#87941E

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

Color values

HEX#87941E
RGBrgb(135, 148, 30)
HSLhsl(67, 66%, 35%)
HSVhsv(67, 80%, 58%)
CMYKcmyk(8.8%, 0%, 79.7%, 42%)
CIE-LABlab(58.44, -19.47, 55.63)
CIE-LCHlch(58.44, 58.94, 109.29°)
OKLaboklab(63.51% -0.0594 0.1215)
OKLCHoklch(63.51% 0.135 116.1)
XYZxyz(20.8165, 26.4248, 5.2319)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87941E #2B1E94
analogous
#94661E #87941E #4C941E
triadic
#87941E #1E8794 #941E87
tetradic
#87941E #1E9466 #2B1E94 #941E4C
square
#87941E #1E9466 #2B1E94 #941E4C
split-complementary
#87941E #1E4C94 #661E94
monochromatic
#2A2E09 #596114 #87941E #B5C728 #CCDC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87941E#FFFFFF#000000##000000
##87941E1.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: #87941e;
/* rgb */ color: rgb(135, 148, 30);
/* oklch */ color: oklch(63.5% 0.135 116.1);
Tailwind
colors: {
  custom: {
    50: '#adb365',
    500: '#87941e',
    950: '#000000',
  },
}
SCSS
$custom: #87941e;
$custom-light: #adb365;
$custom-dark: #000000;
JSON
{
  "hex": "#87941e",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 66.61,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63505,
    "c": 0.13523,
    "h": 116.1
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#87941E
secondary
#5B4FBF
accent
#3FE951
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87941E

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

Preview Lab → · Contrast checker → · Palette generator →

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