#95871D#95871D

#95871D is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.120 H 101.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#95871D
RGBrgb(149, 135, 29)
HSLhsl(53, 67%, 35%)
HSVhsv(53, 81%, 58%)
CMYKcmyk(0%, 9.4%, 80.5%, 41.6%)
CIE-LABlab(55.89, -6.27, 54.12)
CIE-LCHlch(55.89, 54.48, 96.61°)
OKLaboklab(61.77% -0.0235 0.1175)
OKLCHoklch(61.77% 0.12 101.3)
XYZxyz(21.2812, 23.8072, 4.6365)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95871D #1D2B95
analogous
#954B1D #95871D #67951D
triadic
#95871D #1D9587 #871D95
tetradic
#95871D #1D954B #1D2B95 #951D67
square
#95871D #1D954B #1D2B95 #951D67
split-complementary
#95871D #1D6795 #4B1D95
monochromatic
#2F2A09 #625913 #95871D #C8B527 #DDCC50

Accessibility & contrast

On white

3.65
#95871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#95871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #95871D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95871D#FFFFFF#000000##000000
##95871D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A17D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #95871d;
/* rgb */ color: rgb(149, 135, 29);
/* oklch */ color: oklch(61.8% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#b8a963',
    500: '#95871d',
    950: '#000000',
  },
}
SCSS
$custom: #95871d;
$custom-light: #b8a963;
$custom-dark: #000000;
JSON
{
  "hex": "#95871d",
  "rgb": {
    "r": 149,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 53,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.11979,
    "h": 101.3
  },
  "luminance": 0.23806
}

Semantic roles & 50–950 ramp

primary
#95871D
secondary
#4E5BC0
accent
#52EA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #95871D

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

Preview Lab → · Contrast checker → · Palette generator →

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