#87952D#87952D

#87952D is a light, vivid yellow. Relative luminance 0.268; OKLCH L 63.8% C 0.127 H 116.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#87952D
RGBrgb(135, 149, 45)
HSLhsl(68, 54%, 38%)
HSVhsv(68, 70%, 58%)
CMYKcmyk(9.4%, 0%, 69.8%, 41.6%)
CIE-LABlab(58.82, -19.22, 50.66)
CIE-LCHlch(58.82, 54.18, 110.77°)
OKLaboklab(63.84% -0.0573 0.1137)
OKLCHoklch(63.84% 0.127 116.8)
XYZxyz(21.2133, 26.8355, 6.5444)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87952D #3B2D95
analogous
#956F2D #87952D #53952D
triadic
#87952D #2D8795 #952D87
tetradic
#87952D #2D956F #3B2D95 #952D53
square
#87952D #2D956F #3B2D95 #952D53
split-complementary
#87952D #2D5395 #6F2D95
monochromatic
#323711 #5C661F #87952D #B2C43B #C4D26A

Accessibility & contrast

On white

3.30
#87952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#87952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87952D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87952D#FFFFFF#000000##000000
##87952D1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1D
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#8F8D80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #87952d;
/* rgb */ color: rgb(135, 149, 45);
/* oklch */ color: oklch(63.8% 0.127 116.8);
Tailwind
colors: {
  custom: {
    50: '#adb46d',
    500: '#87952d',
    950: '#000000',
  },
}
SCSS
$custom: #87952d;
$custom-light: #adb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#87952d",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 68.077,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.1273,
    "h": 116.8
  },
  "luminance": 0.26835
}

Semantic roles & 50–950 ramp

primary
#87952D
secondary
#7065B9
accent
#4BDD5E
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #87952D

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

Preview Lab → · Contrast checker → · Palette generator →

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