#87931E#87931E

#87931E is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.3% C 0.134 H 115.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#87931E
RGBrgb(135, 147, 30)
HSLhsl(66, 66%, 35%)
HSVhsv(66, 80%, 58%)
CMYKcmyk(8.2%, 0%, 79.6%, 42.4%)
CIE-LABlab(58.14, -18.95, 55.37)
CIE-LCHlch(58.14, 58.52, 108.90°)
OKLaboklab(63.27% -0.058 0.1209)
OKLCHoklch(63.27% 0.134 115.6)
XYZxyz(20.6603, 26.1124, 5.1799)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87931E #2A1E93
analogous
#93651E #87931E #4C931E
triadic
#87931E #1E8793 #931E87
tetradic
#87931E #1E9365 #2A1E93 #931E4C
square
#87931E #1E9365 #2A1E93 #931E4C
split-complementary
#87931E #1E4C93 #651E93
monochromatic
#2A2D09 #586014 #87931E #B6C628 #CDDB50

Accessibility & contrast

On white

3.37
#87931E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#87931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87931E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87931E#FFFFFF#000000##000000
##87931E1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#908A7D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #87931e;
/* rgb */ color: rgb(135, 147, 30);
/* oklch */ color: oklch(63.3% 0.134 115.6);
Tailwind
colors: {
  custom: {
    50: '#adb265',
    500: '#87931e',
    950: '#000000',
  },
}
SCSS
$custom: #87931e;
$custom-light: #adb265;
$custom-dark: #000000;
JSON
{
  "hex": "#87931e",
  "rgb": {
    "r": 135,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 66.154,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63269,
    "c": 0.13411,
    "h": 115.6
  },
  "luminance": 0.26112
}

Semantic roles & 50–950 ramp

primary
#87931E
secondary
#5A4FBE
accent
#3FE950
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87931E

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

Preview Lab → · Contrast checker → · Palette generator →

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