#87941F#87941F

#87941F 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.29:1 contrast (WCAG AA passes).

Color values

HEX#87941F
RGBrgb(135, 148, 31)
HSLhsl(67, 65%, 35%)
HSVhsv(67, 79%, 58%)
CMYKcmyk(8.8%, 0%, 79.1%, 42%)
CIE-LABlab(58.44, -19.42, 55.32)
CIE-LCHlch(58.44, 58.63, 109.35°)
OKLaboklab(63.51% -0.0592 0.121)
OKLCHoklch(63.51% 0.135 116.1)
XYZxyz(20.8295, 26.4300, 5.3003)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87941F #2C1F94
analogous
#94671F #87941F #4C941F
triadic
#87941F #1F8794 #941F87
tetradic
#87941F #1F9467 #2C1F94 #941F4C
square
#87941F #1F9467 #2C1F94 #941F4C
split-complementary
#87941F #1F4C94 #671F94
monochromatic
#2B2F0A #596114 #87941F #B5C72A #CCDB53

Accessibility & contrast

On white

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

On black

6.29
#87941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87941F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87941F#FFFFFF#000000##000000
##87941F1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9E8D2A
Tritanopia (blue-blind)
#908B7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #87941f;
/* rgb */ color: rgb(135, 148, 31);
/* oklch */ color: oklch(63.5% 0.135 116.1);
Tailwind
colors: {
  custom: {
    50: '#adb366',
    500: '#87941f',
    950: '#000000',
  },
}
SCSS
$custom: #87941f;
$custom-light: #adb366;
$custom-dark: #000000;
JSON
{
  "hex": "#87941f",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 66.667,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63511,
    "c": 0.13472,
    "h": 116.1
  },
  "luminance": 0.2643
}

Semantic roles & 50–950 ramp

primary
#87941F
secondary
#5D51BE
accent
#3FE852
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87941F

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

Preview Lab → · Contrast checker → · Palette generator →

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