#95871C#95871C

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

Color values

HEX#95871C
RGBrgb(149, 135, 28)
HSLhsl(53, 68%, 35%)
HSVhsv(53, 81%, 58%)
CMYKcmyk(0%, 9.4%, 81.2%, 41.6%)
CIE-LABlab(55.89, -6.31, 54.43)
CIE-LCHlch(55.89, 54.79, 96.61°)
OKLaboklab(61.76% -0.0237 0.1179)
OKLCHoklch(61.76% 0.12 101.4)
XYZxyz(21.2690, 23.8024, 4.5724)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95871C #1C2A95
analogous
#954B1C #95871C #67951C
triadic
#95871C #1C9587 #871C95
tetradic
#95871C #1C954B #1C2A95 #951C67
square
#95871C #1C954B #1C2A95 #951C67
split-complementary
#95871C #1C6795 #4B1C95
monochromatic
#2E2A09 #615812 #95871C #C9B626 #DECD4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##95871C#FFFFFF#000000##000000
##95871C1.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)
#958300
Deuteranopia (green-blind)
#998825
Tritanopia (blue-blind)
#A17D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #95871c;
/* rgb */ color: rgb(149, 135, 28);
/* oklch */ color: oklch(61.8% 0.120 101.4);
Tailwind
colors: {
  custom: {
    50: '#b8a963',
    500: '#95871c',
    950: '#000000',
  },
}
SCSS
$custom: #95871c;
$custom-light: #b8a963;
$custom-dark: #000000;
JSON
{
  "hex": "#95871c",
  "rgb": {
    "r": 149,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 53.058,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.12029,
    "h": 101.4
  },
  "luminance": 0.23801
}

Semantic roles & 50–950 ramp

primary
#95871C
secondary
#4D5AC0
accent
#51EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #95871C

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

Preview Lab → · Contrast checker → · Palette generator →

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