#95871F#95871F

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

Color values

HEX#95871F
RGBrgb(149, 135, 31)
HSLhsl(53, 66%, 35%)
HSVhsv(53, 79%, 58%)
CMYKcmyk(0%, 9.4%, 79.2%, 41.6%)
CIE-LABlab(55.90, -6.20, 53.46)
CIE-LCHlch(55.90, 53.82, 96.61°)
OKLaboklab(61.78% -0.0231 0.1165)
OKLCHoklch(61.78% 0.119 101.2)
XYZxyz(21.3068, 23.8174, 4.7710)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95871F #1F2D95
analogous
#954C1F #95871F #68951F
triadic
#95871F #1F9587 #871F95
tetradic
#95871F #1F954C #1F2D95 #951F68
square
#95871F #1F954C #1F2D95 #951F68
split-complementary
#95871F #1F6895 #4C1F95
monochromatic
#302B0A #625914 #95871F #C8B52A #DBCB53

Accessibility & contrast

On white

3.64
#95871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##95871F#FFFFFF#000000##000000
##95871F1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948305
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#A17D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #95871f;
/* rgb */ color: rgb(149, 135, 31);
/* oklch */ color: oklch(61.8% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#b8a964',
    500: '#95871f',
    950: '#000000',
  },
}
SCSS
$custom: #95871f;
$custom-light: #b8a964;
$custom-dark: #000000;
JSON
{
  "hex": "#95871f",
  "rgb": {
    "r": 149,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 52.881,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.11874,
    "h": 101.2
  },
  "luminance": 0.23816
}

Semantic roles & 50–950 ramp

primary
#95871F
secondary
#515EBF
accent
#53E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #95871F

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

Preview Lab → · Contrast checker → · Palette generator →

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