#90871D#90871D

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

Color values

HEX#90871D
RGBrgb(144, 135, 29)
HSLhsl(55, 66%, 34%)
HSVhsv(55, 80%, 56%)
CMYKcmyk(0%, 6.2%, 79.9%, 43.5%)
CIE-LABlab(55.43, -8.57, 53.52)
CIE-LCHlch(55.43, 54.20, 99.10°)
OKLaboklab(61.28% -0.0297 0.1164)
OKLCHoklch(61.28% 0.12 104.3)
XYZxyz(20.3883, 23.3468, 4.5946)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90871D #1D2690
analogous
#904E1D #90871D #60901D
triadic
#90871D #1D9087 #871D90
tetradic
#90871D #1D904E #1D2690 #901D60
square
#90871D #1D904E #1D2690 #901D60
split-complementary
#90871D #1D6090 #4E1D90
monochromatic
#2A2708 #5D5713 #90871D #C3B727 #DBD04C

Accessibility & contrast

On white

3.70
#90871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##90871D#FFFFFF#000000##000000
##90871D1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90871d;
/* rgb */ color: rgb(144, 135, 29);
/* oklch */ color: oklch(61.3% 0.120 104.3);
Tailwind
colors: {
  custom: {
    50: '#b4a963',
    500: '#90871d',
    950: '#000000',
  },
}
SCSS
$custom: #90871d;
$custom-light: #b4a963;
$custom-dark: #000000;
JSON
{
  "hex": "#90871d",
  "rgb": {
    "r": 144,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 55.304,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.12015,
    "h": 104.3
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#90871D
secondary
#4B54BD
accent
#4CE93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #90871D

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

Preview Lab → · Contrast checker → · Palette generator →

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