#90871B#90871B

#90871B is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.3% C 0.121 H 104.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#90871B
RGBrgb(144, 135, 27)
HSLhsl(55, 68%, 34%)
HSVhsv(55, 81%, 56%)
CMYKcmyk(0%, 6.2%, 81.3%, 43.5%)
CIE-LABlab(55.42, -8.65, 54.15)
CIE-LCHlch(55.42, 54.83, 99.07°)
OKLaboklab(61.27% -0.0301 0.1174)
OKLCHoklch(61.27% 0.121 104.4)
XYZxyz(20.3643, 23.3372, 4.4686)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90871B #1B2490
analogous
#904C1B #90871B #5E901B
triadic
#90871B #1B9087 #871B90
tetradic
#90871B #1B904C #1B2490 #901B5E
square
#90871B #1B904C #1B2490 #901B5E
split-complementary
#90871B #1B5E90 #4C1B90
monochromatic
#292608 #5C5711 #90871B #C4B725 #DDD149

Accessibility & contrast

On white

3.71
#90871B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#90871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #90871B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90871B#FFFFFF#000000##000000
##90871B1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90871b;
/* rgb */ color: rgb(144, 135, 27);
/* oklch */ color: oklch(61.3% 0.121 104.4);
Tailwind
colors: {
  custom: {
    50: '#b4a962',
    500: '#90871b',
    950: '#000000',
  },
}
SCSS
$custom: #90871b;
$custom-light: #b4a962;
$custom-dark: #000000;
JSON
{
  "hex": "#90871b",
  "rgb": {
    "r": 144,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 55.385,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.12116,
    "h": 104.4
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

primary
#90871B
secondary
#4851BF
accent
#4AEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #90871B

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

Preview Lab → · Contrast checker → · Palette generator →

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