#95771B#95771B

#95771B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.2% C 0.110 H 89.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#95771B
RGBrgb(149, 119, 27)
HSLhsl(45, 69%, 35%)
HSVhsv(45, 82%, 58%)
CMYKcmyk(0%, 20.1%, 81.9%, 41.6%)
CIE-LABlab(51.45, 2.57, 50.82)
CIE-LCHlch(51.45, 50.88, 87.10°)
OKLaboklab(58.25% 0.0014 0.1099)
OKLCHoklch(58.25% 0.11 89.3)
XYZxyz(19.1903, 19.6636, 3.8214)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95771B #1B3995
analogous
#953A1B #95771B #76951B
triadic
#95771B #1B9577 #771B95
tetradic
#95771B #1B953A #1B3995 #951B76
square
#95771B #1B953A #1B3995 #951B76
split-complementary
#95771B #1B7695 #3A1B95
monochromatic
#2D2408 #614E12 #95771B #C9A024 #DFBA4C

Accessibility & contrast

On white

4.26
#95771B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#95771B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #95771B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95771B#FFFFFF#000000##000000
##95771B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#A26C66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #95771b;
/* rgb */ color: rgb(149, 119, 27);
/* oklch */ color: oklch(58.2% 0.110 89.3);
Tailwind
colors: {
  custom: {
    50: '#b89d60',
    500: '#95771b',
    950: '#000000',
  },
}
SCSS
$custom: #95771b;
$custom-light: #b89d60;
$custom-dark: #000000;
JSON
{
  "hex": "#95771b",
  "rgb": {
    "r": 149,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 45.246,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.10994,
    "h": 89.3
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#95771B
secondary
#4B68C1
accent
#67EC3C
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #95771B

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

Preview Lab → · Contrast checker → · Palette generator →

#95771B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva