#908D20#908D20

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

Color values

HEX#908D20
RGBrgb(144, 141, 32)
HSLhsl(58, 64%, 35%)
HSVhsv(58, 78%, 56%)
CMYKcmyk(0%, 2.1%, 77.8%, 43.5%)
CIE-LABlab(57.16, -11.69, 54.10)
CIE-LCHlch(57.16, 55.35, 102.19°)
OKLaboklab(62.67% -0.0381 0.1183)
OKLCHoklch(62.67% 0.124 107.9)
XYZxyz(21.2880, 25.0841, 5.0866)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D20 #202390
analogous
#905520 #908D20 #5B9020
triadic
#908D20 #20908D #8D2090
tetradic
#908D20 #209055 #202390 #90205B
square
#908D20 #209055 #202390 #90205B
split-complementary
#908D20 #205B90 #552090
monochromatic
#2C2B0A #5E5C15 #908D20 #C2BE2B #D9D552

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D20#FFFFFF#000000##000000
##908D201.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)
#998704
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d20;
/* rgb */ color: rgb(144, 141, 32);
/* oklch */ color: oklch(62.7% 0.124 107.9);
Tailwind
colors: {
  custom: {
    50: '#b4ae65',
    500: '#908d20',
    950: '#000000',
  },
}
SCSS
$custom: #908d20;
$custom-light: #b4ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#908d20",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 58.393,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62666,
    "c": 0.12425,
    "h": 107.9
  },
  "luminance": 0.25083
}

Semantic roles & 50–950 ramp

primary
#908D20
secondary
#5053BC
accent
#46E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D20

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

Preview Lab → · Contrast checker → · Palette generator →

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