#908A20#908A20

#908A20 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#908A20
RGBrgb(144, 138, 32)
HSLhsl(57, 64%, 35%)
HSVhsv(57, 78%, 56%)
CMYKcmyk(0%, 4.2%, 77.8%, 43.5%)
CIE-LABlab(56.30, -10.07, 53.32)
CIE-LCHlch(56.30, 54.26, 100.70°)
OKLaboklab(61.98% -0.0336 0.1166)
OKLCHoklch(61.98% 0.121 106.1)
XYZxyz(20.8517, 24.2113, 4.9411)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A20 #202690
analogous
#905220 #908A20 #5E9020
triadic
#908A20 #20908A #8A2090
tetradic
#908A20 #209052 #202690 #90205E
square
#908A20 #209052 #202690 #90205E
split-complementary
#908A20 #205E90 #522090
monochromatic
#2C2A0A #5E5A15 #908A20 #C2BA2B #D9D152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908A20#FFFFFF#000000##000000
##908A201.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)
#968506
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a20;
/* rgb */ color: rgb(144, 138, 32);
/* oklch */ color: oklch(62.0% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#b4ab65',
    500: '#908a20',
    950: '#000000',
  },
}
SCSS
$custom: #908a20;
$custom-light: #b4ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#908a20",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 56.786,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.12133,
    "h": 106.1
  },
  "luminance": 0.24211
}

Semantic roles & 50–950 ramp

primary
#908A20
secondary
#5056BC
accent
#4AE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908A20

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

Preview Lab → · Contrast checker → · Palette generator →

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