#90841F#90841F

#90841F is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.116 H 102.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#90841F
RGBrgb(144, 132, 31)
HSLhsl(54, 65%, 34%)
HSVhsv(54, 78%, 56%)
CMYKcmyk(0%, 8.3%, 78.5%, 43.5%)
CIE-LABlab(54.59, -6.85, 52.09)
CIE-LCHlch(54.59, 52.54, 97.49°)
OKLaboklab(60.62% -0.0247 0.1138)
OKLCHoklch(60.62% 0.116 102.2)
XYZxyz(20.0011, 22.5316, 4.5916)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90841F #1F2B90
analogous
#904C1F #90841F #64901F
triadic
#90841F #1F9084 #841F90
tetradic
#90841F #1F904C #1F2B90 #901F64
square
#90841F #1F904C #1F2B90 #901F64
split-complementary
#90841F #1F6490 #4C1F90
monochromatic
#2B2809 #5E5614 #90841F #C2B22A #D9CB50

Accessibility & contrast

On white

3.81
#90841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#90841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #90841F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90841F#FFFFFF#000000##000000
##90841F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#9B7A71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #90841f;
/* rgb */ color: rgb(144, 132, 31);
/* oklch */ color: oklch(60.6% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b4a764',
    500: '#90841f',
    950: '#000000',
  },
}
SCSS
$custom: #90841f;
$custom-light: #b4a764;
$custom-dark: #000000;
JSON
{
  "hex": "#90841f",
  "rgb": {
    "r": 144,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 53.628,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.1164,
    "h": 102.2
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#90841F
secondary
#4E5ABC
accent
#52E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #90841F

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

Preview Lab → · Contrast checker → · Palette generator →

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