#87912C#87912C

#87912C is a light, vivid yellow. Relative luminance 0.256; OKLCH L 62.9% C 0.123 H 114.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#87912C
RGBrgb(135, 145, 44)
HSLhsl(66, 53%, 37%)
HSVhsv(66, 70%, 57%)
CMYKcmyk(6.9%, 0%, 69.7%, 43.1%)
CIE-LABlab(57.64, -17.21, 49.87)
CIE-LCHlch(57.64, 52.76, 109.04°)
OKLaboklab(62.89% -0.0518 0.1118)
OKLCHoklch(62.89% 0.123 114.9)
XYZxyz(20.5722, 25.5839, 6.2368)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87912C #362C91
analogous
#91692C #87912C #54912C
triadic
#87912C #2C8791 #912C87
tetradic
#87912C #2C9169 #362C91 #912C54
square
#87912C #2C9169 #362C91 #912C54
split-complementary
#87912C #2C5491 #692C91
monochromatic
#303310 #5B621E #87912C #B3C03A #C6D167

Accessibility & contrast

On white

3.43
#87912C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#87912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87912C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87912C#FFFFFF#000000##000000
##87912C1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1C
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#90897D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #87912c;
/* rgb */ color: rgb(135, 145, 44);
/* oklch */ color: oklch(62.9% 0.123 114.9);
Tailwind
colors: {
  custom: {
    50: '#adb16c',
    500: '#87912c',
    950: '#000000',
  },
}
SCSS
$custom: #87912c;
$custom-light: #adb16c;
$custom-dark: #000000;
JSON
{
  "hex": "#87912c",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 65.941,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62891,
    "c": 0.12326,
    "h": 114.9
  },
  "luminance": 0.25584
}

Semantic roles & 50–950 ramp

primary
#87912C
secondary
#6A62B7
accent
#4BDD59
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #87912C

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

Preview Lab → · Contrast checker → · Palette generator →

#87912C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva