#91871C#91871C

#91871C is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.121 H 103.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#91871C
RGBrgb(145, 135, 28)
HSLhsl(55, 68%, 34%)
HSVhsv(55, 81%, 57%)
CMYKcmyk(0%, 6.9%, 80.7%, 43.1%)
CIE-LABlab(55.52, -8.15, 53.96)
CIE-LCHlch(55.52, 54.57, 98.59°)
OKLaboklab(61.37% -0.0286 0.1171)
OKLCHoklch(61.37% 0.121 103.7)
XYZxyz(20.5516, 23.4324, 4.5388)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91871C #1C2691
analogous
#914D1C #91871C #61911C
triadic
#91871C #1C9187 #871C91
tetradic
#91871C #1C914D #1C2691 #911C61
square
#91871C #1C914D #1C2691 #911C61
split-complementary
#91871C #1C6191 #4D1C91
monochromatic
#2A2708 #5E5712 #91871C #C4B726 #DCD04B

Accessibility & contrast

On white

3.69
#91871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#91871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #91871C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91871C#FFFFFF#000000##000000
##91871C1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#9D7D73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #91871c;
/* rgb */ color: rgb(145, 135, 28);
/* oklch */ color: oklch(61.4% 0.121 103.7);
Tailwind
colors: {
  custom: {
    50: '#b5a963',
    500: '#91871c',
    950: '#000000',
  },
}
SCSS
$custom: #91871c;
$custom-light: #b5a963;
$custom-dark: #000000;
JSON
{
  "hex": "#91871c",
  "rgb": {
    "r": 145,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 54.872,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.12056,
    "h": 103.7
  },
  "luminance": 0.23432
}

Semantic roles & 50–950 ramp

primary
#91871C
secondary
#4A54BE
accent
#4CEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #91871C

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

Preview Lab → · Contrast checker → · Palette generator →

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