#87942E#87942E

#87942E is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.6% C 0.125 H 116.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#87942E
RGBrgb(135, 148, 46)
HSLhsl(68, 53%, 38%)
HSVhsv(68, 69%, 58%)
CMYKcmyk(8.8%, 0%, 68.9%, 42%)
CIE-LABlab(58.54, -18.64, 49.97)
CIE-LCHlch(58.54, 53.33, 110.46°)
OKLaboklab(63.61% -0.0556 0.1124)
OKLCHoklch(63.61% 0.125 116.3)
XYZxyz(21.0752, 26.5282, 6.5945)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87942E #3B2E94
analogous
#946E2E #87942E #54942E
triadic
#87942E #2E8794 #942E87
tetradic
#87942E #2E946E #3B2E94 #942E54
square
#87942E #2E946E #3B2E94 #942E54
split-complementary
#87942E #2E5494 #6E2E94
monochromatic
#323711 #5C651F #87942E #B2C33D #C4D16B

Accessibility & contrast

On white

3.33
#87942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#87942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87942E
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87942E#FFFFFF#000000##000000
##87942E1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#8F8C80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #87942e;
/* rgb */ color: rgb(135, 148, 46);
/* oklch */ color: oklch(63.6% 0.125 116.3);
Tailwind
colors: {
  custom: {
    50: '#adb36d',
    500: '#87942e',
    950: '#000000',
  },
}
SCSS
$custom: #87942e;
$custom-light: #adb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#87942e",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 67.647,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.12538,
    "h": 116.3
  },
  "luminance": 0.26528
}

Semantic roles & 50–950 ramp

primary
#87942E
secondary
#7066B8
accent
#4CDC5E
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #87942E

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

Preview Lab → · Contrast checker → · Palette generator →

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