#90871F#90871F

#90871F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.119 H 104.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#90871F
RGBrgb(144, 135, 31)
HSLhsl(55, 65%, 34%)
HSVhsv(55, 78%, 56%)
CMYKcmyk(0%, 6.2%, 78.5%, 43.5%)
CIE-LABlab(55.44, -8.49, 52.87)
CIE-LCHlch(55.44, 53.54, 99.12°)
OKLaboklab(61.29% -0.0293 0.1154)
OKLCHoklch(61.29% 0.119 104.2)
XYZxyz(20.4138, 23.3570, 4.7291)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90871F #1F2890
analogous
#904F1F #90871F #61901F
triadic
#90871F #1F9087 #871F90
tetradic
#90871F #1F904F #1F2890 #901F61
square
#90871F #1F904F #1F2890 #901F61
split-complementary
#90871F #1F6190 #4F1F90
monochromatic
#2B2909 #5E5814 #90871F #C2B62A #D9CE50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##90871F#FFFFFF#000000##000000
##90871F1.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)
#948206
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#9B7D73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #90871f;
/* rgb */ color: rgb(144, 135, 31);
/* oklch */ color: oklch(61.3% 0.119 104.2);
Tailwind
colors: {
  custom: {
    50: '#b4a964',
    500: '#90871f',
    950: '#000000',
  },
}
SCSS
$custom: #90871f;
$custom-light: #b4a964;
$custom-dark: #000000;
JSON
{
  "hex": "#90871f",
  "rgb": {
    "r": 144,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 55.221,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.11908,
    "h": 104.2
  },
  "luminance": 0.23356
}

Semantic roles & 50–950 ramp

primary
#90871F
secondary
#4E57BC
accent
#4EE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #90871F

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

Preview Lab → · Contrast checker → · Palette generator →

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