#87921B#87921B

#87921B is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.0% C 0.134 H 115.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#87921B
RGBrgb(135, 146, 27)
HSLhsl(66, 69%, 34%)
HSVhsv(66, 82%, 57%)
CMYKcmyk(7.5%, 0%, 81.5%, 42.7%)
CIE-LABlab(57.84, -18.55, 55.99)
CIE-LCHlch(57.84, 58.98, 108.33°)
OKLaboklab(63.02% -0.0571 0.1217)
OKLCHoklch(63.02% 0.134 115.1)
XYZxyz(20.4690, 25.7882, 4.9360)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87921B #261B92
analogous
#92621B #87921B #4C921B
triadic
#87921B #1B8792 #921B87
tetradic
#87921B #1B9262 #261B92 #921B4C
square
#87921B #1B9262 #261B92 #921B4C
split-complementary
#87921B #1B4C92 #621B92
monochromatic
#272B08 #575E11 #87921B #B7C625 #D0DE4A

Accessibility & contrast

On white

3.41
#87921B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#87921B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87921B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87921B#FFFFFF#000000##000000
##87921B1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9C8C27
Tritanopia (blue-blind)
#90897C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #87921b;
/* rgb */ color: rgb(135, 146, 27);
/* oklch */ color: oklch(63.0% 0.134 115.1);
Tailwind
colors: {
  custom: {
    50: '#adb164',
    500: '#87921b',
    950: '#000000',
  },
}
SCSS
$custom: #87921b;
$custom-light: #adb164;
$custom-dark: #000000;
JSON
{
  "hex": "#87921b",
  "rgb": {
    "r": 135,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 65.546,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.13444,
    "h": 115.1
  },
  "luminance": 0.25788
}

Semantic roles & 50–950 ramp

primary
#87921B
secondary
#5449BF
accent
#3CEC4C
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87921B

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

Preview Lab → · Contrast checker → · Palette generator →

#87921B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva