#90802A#90802A

#90802A is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.106 H 98.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#90802A
RGBrgb(144, 128, 42)
HSLhsl(51, 55%, 36%)
HSVhsv(51, 71%, 56%)
CMYKcmyk(0%, 11.1%, 70.8%, 43.5%)
CIE-LABlab(53.53, -4.10, 46.80)
CIE-LCHlch(53.53, 46.98, 95.01°)
OKLaboklab(59.8% -0.0157 0.1047)
OKLCHoklch(59.8% 0.106 98.5)
XYZxyz(19.6396, 21.5357, 5.3124)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90802A #2A3A90
analogous
#904D2A #90802A #6D902A
triadic
#90802A #2A9080 #802A90
tetradic
#90802A #2A904D #2A3A90 #902A6D
square
#90802A #2A904D #2A3A90 #902A6D
split-complementary
#90802A #2A6D90 #4D2A90
monochromatic
#312C0E #61561C #90802A #BFAA38 #D1C063

Accessibility & contrast

On white

3.96
#90802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#90802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #90802A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90802A#FFFFFF#000000##000000
##90802A1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#9B766F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #90802a;
/* rgb */ color: rgb(144, 128, 42);
/* oklch */ color: oklch(59.8% 0.106 98.5);
Tailwind
colors: {
  custom: {
    50: '#b4a469',
    500: '#90802a',
    950: '#000000',
  },
}
SCSS
$custom: #90802a;
$custom-light: #b4a469;
$custom-dark: #000000;
JSON
{
  "hex": "#90802a",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 50.588,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.10588,
    "h": 98.5
  },
  "luminance": 0.21535
}

Semantic roles & 50–950 ramp

primary
#90802A
secondary
#5E6CB7
accent
#61DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #90802A

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

Preview Lab → · Contrast checker → · Palette generator →

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