#95872A#95872A

#95872A is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.112 H 100.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#95872A
RGBrgb(149, 135, 42)
HSLhsl(52, 56%, 37%)
HSVhsv(52, 72%, 58%)
CMYKcmyk(0%, 9.4%, 71.8%, 41.6%)
CIE-LABlab(55.97, -5.68, 49.41)
CIE-LCHlch(55.97, 49.74, 96.56°)
OKLaboklab(61.85% -0.0205 0.11)
OKLCHoklch(61.85% 0.112 100.5)
XYZxyz(21.4773, 23.8856, 5.6691)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95872A #2A3895
analogous
#95522A #95872A #6D952A
triadic
#95872A #2A9587 #872A95
tetradic
#95872A #2A9552 #2A3895 #952A6D
square
#95872A #2A9552 #2A3895 #952A6D
split-complementary
#95872A #2A6D95 #522A95
monochromatic
#36300F #655C1D #95872A #C5B237 #D4C566

Accessibility & contrast

On white

3.64
#95872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#95872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #95872A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95872A#FFFFFF#000000##000000
##95872A1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#A17D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #95872a;
/* rgb */ color: rgb(149, 135, 42);
/* oklch */ color: oklch(61.9% 0.112 100.5);
Tailwind
colors: {
  custom: {
    50: '#b7a96a',
    500: '#95872a',
    950: '#000000',
  },
}
SCSS
$custom: #95872a;
$custom-light: #b7a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#95872a",
  "rgb": {
    "r": 149,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 52.15,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.11193,
    "h": 100.5
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#95872A
secondary
#616DBA
accent
#5CDF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #95872A

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

Preview Lab → · Contrast checker → · Palette generator →

#95872A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva