#87902F#87902F

#87902F is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.120 H 114.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#87902F
RGBrgb(135, 144, 47)
HSLhsl(66, 51%, 37%)
HSVhsv(66, 67%, 56%)
CMYKcmyk(6.2%, 0%, 67.4%, 43.5%)
CIE-LABlab(57.37, -16.50, 48.36)
CIE-LCHlch(57.37, 51.10, 108.84°)
OKLaboklab(62.68% -0.0496 0.1091)
OKLCHoklch(62.68% 0.12 114.4)
XYZxyz(20.4785, 25.3030, 6.4940)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87902F #382F90
analogous
#90682F #87902F #57902F
triadic
#87902F #2F8790 #902F87
tetradic
#87902F #2F9068 #382F90 #902F57
square
#87902F #2F9068 #382F90 #902F57
split-complementary
#87902F #2F5790 #682F90
monochromatic
#303411 #5C6220 #87902F #B2BE3E #C5CF6B

Accessibility & contrast

On white

3.47
#87902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#87902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87902F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87902F#FFFFFF#000000##000000
##87902F1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#90887C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #87902f;
/* rgb */ color: rgb(135, 144, 47);
/* oklch */ color: oklch(62.7% 0.120 114.4);
Tailwind
colors: {
  custom: {
    50: '#adb06d',
    500: '#87902f',
    950: '#000000',
  },
}
SCSS
$custom: #87902f;
$custom-light: #adb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#87902f",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 65.567,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62682,
    "c": 0.11986,
    "h": 114.4
  },
  "luminance": 0.25303
}

Semantic roles & 50–950 ramp

primary
#87902F
secondary
#6D65B6
accent
#4EDA5B
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #87902F

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

Preview Lab → · Contrast checker → · Palette generator →

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