#908A21#908A21

#908A21 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.121 H 106.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#908A21
RGBrgb(144, 138, 33)
HSLhsl(57, 63%, 35%)
HSVhsv(57, 77%, 56%)
CMYKcmyk(0%, 4.2%, 77.1%, 43.5%)
CIE-LABlab(56.30, -10.03, 52.98)
CIE-LCHlch(56.30, 53.92, 100.72°)
OKLaboklab(61.99% -0.0334 0.1161)
OKLCHoklch(61.99% 0.121 106.1)
XYZxyz(20.8655, 24.2168, 5.0138)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A21 #212790
analogous
#905321 #908A21 #5E9021
triadic
#908A21 #21908A #8A2190
tetradic
#908A21 #219053 #212790 #90215E
square
#908A21 #219053 #212790 #90215E
split-complementary
#908A21 #215E90 #532190
monochromatic
#2C2B0A #5E5A16 #908A21 #C2BA2C #D8D154

Accessibility & contrast

On white

3.59
#908A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#908A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A21
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A21#FFFFFF#000000##000000
##908A211.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968509
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a21;
/* rgb */ color: rgb(144, 138, 33);
/* oklch */ color: oklch(62.0% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#b4ab65',
    500: '#908a21',
    950: '#000000',
  },
}
SCSS
$custom: #908a21;
$custom-light: #b4ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#908a21",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 56.757,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.12077,
    "h": 106.1
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#908A21
secondary
#5157BB
accent
#4BE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908A21

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

Preview Lab → · Contrast checker → · Palette generator →

#908A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva