#90871A#90871A

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

Color values

HEX#90871A
RGBrgb(144, 135, 26)
HSLhsl(55, 69%, 33%)
HSVhsv(55, 82%, 56%)
CMYKcmyk(0%, 6.2%, 81.9%, 43.5%)
CIE-LABlab(55.41, -8.68, 54.45)
CIE-LCHlch(55.41, 55.14, 99.06°)
OKLaboklab(61.27% -0.0302 0.1178)
OKLCHoklch(61.27% 0.122 104.4)
XYZxyz(20.3530, 23.3327, 4.4087)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90871A #1A2390
analogous
#904C1A #90871A #5E901A
triadic
#90871A #1A9087 #871A90
tetradic
#90871A #1A904C #1A2390 #901A5E
square
#90871A #1A904C #1A2390 #901A5E
split-complementary
#90871A #1A5E90 #4C1A90
monochromatic
#282607 #5C5611 #90871A #C4B823 #DED247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##90871A#FFFFFF#000000##000000
##90871A1.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)
#978723
Tritanopia (blue-blind)
#9B7D73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #90871a;
/* rgb */ color: rgb(144, 135, 26);
/* oklch */ color: oklch(61.3% 0.122 104.4);
Tailwind
colors: {
  custom: {
    50: '#b4a962',
    500: '#90871a',
    950: '#000000',
  },
}
SCSS
$custom: #90871a;
$custom-light: #b4a962;
$custom-dark: #000000;
JSON
{
  "hex": "#90871a",
  "rgb": {
    "r": 144,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 55.424,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61267,
    "c": 0.12164,
    "h": 104.4
  },
  "luminance": 0.23332
}

Semantic roles & 50–950 ramp

primary
#90871A
secondary
#4750BF
accent
#49EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #90871A

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

Preview Lab → · Contrast checker → · Palette generator →

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