#87921D#87921D

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

Color values

HEX#87921D
RGBrgb(135, 146, 29)
HSLhsl(66, 67%, 34%)
HSVhsv(66, 80%, 57%)
CMYKcmyk(7.5%, 0%, 80.1%, 42.7%)
CIE-LABlab(57.84, -18.48, 55.40)
CIE-LCHlch(57.84, 58.40, 108.44°)
OKLaboklab(63.03% -0.0567 0.1208)
OKLCHoklch(63.03% 0.133 115.2)
XYZxyz(20.4929, 25.7977, 5.0621)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87921D #281D92
analogous
#92631D #87921D #4D921D
triadic
#87921D #1D8792 #921D87
tetradic
#87921D #1D9263 #281D92 #921D4D
square
#87921D #1D9263 #281D92 #921D4D
split-complementary
#87921D #1D4D92 #631D92
monochromatic
#292C09 #585F13 #87921D #B6C527 #CEDC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87921D#FFFFFF#000000##000000
##87921D1.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)
#9C8C28
Tritanopia (blue-blind)
#90897D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #87921d;
/* rgb */ color: rgb(135, 146, 29);
/* oklch */ color: oklch(63.0% 0.133 115.2);
Tailwind
colors: {
  custom: {
    50: '#adb164',
    500: '#87921d',
    950: '#000000',
  },
}
SCSS
$custom: #87921d;
$custom-light: #adb164;
$custom-dark: #000000;
JSON
{
  "hex": "#87921d",
  "rgb": {
    "r": 135,
    "g": 146,
    "b": 29
  },
  "hsl": {
    "h": 65.641,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63027,
    "c": 0.13349,
    "h": 115.2
  },
  "luminance": 0.25797
}

Semantic roles & 50–950 ramp

primary
#87921D
secondary
#574CBE
accent
#3EEA4E
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87921D

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

Preview Lab → · Contrast checker → · Palette generator →

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