#908B20#908B20

#908B20 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.2% C 0.122 H 106.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#908B20
RGBrgb(144, 139, 32)
HSLhsl(57, 64%, 35%)
HSVhsv(57, 78%, 56%)
CMYKcmyk(0%, 3.5%, 77.8%, 43.5%)
CIE-LABlab(56.58, -10.61, 53.58)
CIE-LCHlch(56.58, 54.62, 101.20°)
OKLaboklab(62.21% -0.0351 0.1171)
OKLCHoklch(62.21% 0.122 106.7)
XYZxyz(20.9958, 24.4996, 4.9891)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B20 #202590
analogous
#905320 #908B20 #5D9020
triadic
#908B20 #20908B #8B2090
tetradic
#908B20 #209053 #202590 #90205D
square
#908B20 #209053 #202590 #90205D
split-complementary
#908B20 #205D90 #532090
monochromatic
#2C2A0A #5E5B15 #908B20 #C2BB2B #D9D352

Accessibility & contrast

On white

3.56
#908B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#908B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908B20
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908B20#FFFFFF#000000##000000
##908B201.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#9B8177
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908b20;
/* rgb */ color: rgb(144, 139, 32);
/* oklch */ color: oklch(62.2% 0.122 106.7);
Tailwind
colors: {
  custom: {
    50: '#b4ac65',
    500: '#908b20',
    950: '#000000',
  },
}
SCSS
$custom: #908b20;
$custom-light: #b4ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#908b20",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 57.321,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62209,
    "c": 0.12229,
    "h": 106.7
  },
  "luminance": 0.24499
}

Semantic roles & 50–950 ramp

primary
#908B20
secondary
#5055BC
accent
#49E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908B20

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

Preview Lab → · Contrast checker → · Palette generator →

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