#908321#908321

#908321 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.114 H 101.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#908321
RGBrgb(144, 131, 33)
HSLhsl(53, 63%, 35%)
HSVhsv(53, 77%, 56%)
CMYKcmyk(0%, 9%, 77.1%, 43.5%)
CIE-LABlab(54.32, -6.22, 51.13)
CIE-LCHlch(54.32, 51.50, 96.93°)
OKLaboklab(60.41% -0.0227 0.1121)
OKLCHoklch(60.41% 0.114 101.4)
XYZxyz(19.8933, 22.2726, 4.6897)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908321 #212E90
analogous
#904C21 #908321 #669021
triadic
#908321 #219083 #832190
tetradic
#908321 #21904C #212E90 #902166
square
#908321 #21904C #212E90 #902166
split-complementary
#908321 #216690 #4C2190
monochromatic
#2C280A #5E5616 #908321 #C2B02C #D8C854

Accessibility & contrast

On white

3.85
#908321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#908321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908321
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908321#FFFFFF#000000##000000
##9083211.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#9B7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #908321;
/* rgb */ color: rgb(144, 131, 33);
/* oklch */ color: oklch(60.4% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#b4a664',
    500: '#908321',
    950: '#000000',
  },
}
SCSS
$custom: #908321;
$custom-light: #b4a664;
$custom-dark: #000000;
JSON
{
  "hex": "#908321",
  "rgb": {
    "r": 144,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 52.973,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.11439,
    "h": 101.4
  },
  "luminance": 0.22272
}

Semantic roles & 50–950 ramp

primary
#908321
secondary
#515EBB
accent
#55E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #908321

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

Preview Lab → · Contrast checker → · Palette generator →

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