#908E21#908E21

#908E21 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.125 H 108.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#908E21
RGBrgb(144, 142, 33)
HSLhsl(59, 63%, 35%)
HSVhsv(59, 77%, 56%)
CMYKcmyk(0%, 1.4%, 77.1%, 43.5%)
CIE-LABlab(57.45, -12.18, 54.03)
CIE-LCHlch(57.45, 55.39, 102.70°)
OKLaboklab(62.9% -0.0394 0.1183)
OKLCHoklch(62.9% 0.125 108.4)
XYZxyz(21.4499, 25.3858, 5.2086)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E21 #212390
analogous
#905721 #908E21 #5B9021
triadic
#908E21 #21908E #8E2190
tetradic
#908E21 #219057 #212390 #90215B
square
#908E21 #219057 #212390 #90215B
split-complementary
#908E21 #215B90 #572190
monochromatic
#2C2C0A #5E5D16 #908E21 #C2BF2C #D8D554

Accessibility & contrast

On white

3.46
#908E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#908E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E21
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E21#FFFFFF#000000##000000
##908E211.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8806
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#9B847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e21;
/* rgb */ color: rgb(144, 142, 33);
/* oklch */ color: oklch(62.9% 0.125 108.4);
Tailwind
colors: {
  custom: {
    50: '#b4ae66',
    500: '#908e21',
    950: '#000000',
  },
}
SCSS
$custom: #908e21;
$custom-light: #b4ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#908e21",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 58.919,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62901,
    "c": 0.1247,
    "h": 108.4
  },
  "luminance": 0.25385
}

Semantic roles & 50–950 ramp

primary
#908E21
secondary
#5153BB
accent
#45E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908E21

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

Preview Lab → · Contrast checker → · Palette generator →

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