#908221#908221

#908221 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.114 H 100.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#908221
RGBrgb(144, 130, 33)
HSLhsl(52, 63%, 35%)
HSVhsv(52, 77%, 56%)
CMYKcmyk(0%, 9.7%, 77.1%, 43.5%)
CIE-LABlab(54.03, -5.67, 50.86)
CIE-LCHlch(54.03, 51.18, 96.36°)
OKLaboklab(60.18% -0.0211 0.1116)
OKLCHoklch(60.18% 0.114 100.7)
XYZxyz(19.7597, 22.0053, 4.6452)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908221 #212F90
analogous
#904A21 #908221 #679021
triadic
#908221 #219082 #822190
tetradic
#908221 #21904A #212F90 #902167
square
#908221 #21904A #212F90 #902167
split-complementary
#908221 #216790 #4A2190
monochromatic
#2C280A #5E5516 #908221 #C2AF2C #D8C754

Accessibility & contrast

On white

3.89
#908221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#908221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908221
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908221#FFFFFF#000000##000000
##9082211.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#9C786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #908221;
/* rgb */ color: rgb(144, 130, 33);
/* oklch */ color: oklch(60.2% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#b4a664',
    500: '#908221',
    950: '#000000',
  },
}
SCSS
$custom: #908221;
$custom-light: #b4a664;
$custom-dark: #000000;
JSON
{
  "hex": "#908221",
  "rgb": {
    "r": 144,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 52.432,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.11354,
    "h": 100.7
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#908221
secondary
#515FBB
accent
#57E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #908221

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

Preview Lab → · Contrast checker → · Palette generator →

#908221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva