#908D21#908D21

#908D21 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.124 H 107.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#908D21
RGBrgb(144, 141, 33)
HSLhsl(58, 63%, 35%)
HSVhsv(58, 77%, 56%)
CMYKcmyk(0%, 2.1%, 77.1%, 43.5%)
CIE-LABlab(57.16, -11.64, 53.77)
CIE-LCHlch(57.16, 55.02, 102.22°)
OKLaboklab(62.67% -0.0379 0.1178)
OKLCHoklch(62.67% 0.124 107.8)
XYZxyz(21.3018, 25.0896, 5.1592)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D21 #212490
analogous
#905521 #908D21 #5C9021
triadic
#908D21 #21908D #8D2190
tetradic
#908D21 #219055 #212490 #90215C
square
#908D21 #219055 #212490 #90215C
split-complementary
#908D21 #215C90 #552190
monochromatic
#2C2B0A #5E5C16 #908D21 #C2BE2C #D8D454

Accessibility & contrast

On white

3.49
#908D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#908D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D21
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D21#FFFFFF#000000##000000
##908D211.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998707
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d21;
/* rgb */ color: rgb(144, 141, 33);
/* oklch */ color: oklch(62.7% 0.124 107.8);
Tailwind
colors: {
  custom: {
    50: '#b4ae66',
    500: '#908d21',
    950: '#000000',
  },
}
SCSS
$custom: #908d21;
$custom-light: #b4ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#908d21",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 58.378,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.1237,
    "h": 107.8
  },
  "luminance": 0.25089
}

Semantic roles & 50–950 ramp

primary
#908D21
secondary
#5154BB
accent
#46E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908D21

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

Preview Lab → · Contrast checker → · Palette generator →

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