#908B16#908B16

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

Color values

HEX#908B16
RGBrgb(144, 139, 22)
HSLhsl(58, 73%, 33%)
HSVhsv(58, 85%, 56%)
CMYKcmyk(0%, 3.5%, 84.7%, 43.5%)
CIE-LABlab(56.54, -10.97, 56.54)
CIE-LCHlch(56.54, 57.60, 100.98°)
OKLaboklab(62.16% -0.0369 0.1216)
OKLCHoklch(62.16% 0.127 106.9)
XYZxyz(20.8799, 24.4532, 4.3790)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B16 #161B90
analogous
#904E16 #908B16 #589016
triadic
#908B16 #16908B #8B1690
tetradic
#908B16 #16904E #161B90 #901658
square
#908B16 #16904E #161B90 #901658
split-complementary
#908B16 #165890 #4E1690
monochromatic
#262506 #5B580E #908B16 #C5BE1E #E2DB3F

Accessibility & contrast

On white

3.57
#908B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#908B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908B16
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908B16#FFFFFF#000000##000000
##908B161.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#9A8921
Tritanopia (blue-blind)
#9B8176
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908b16;
/* rgb */ color: rgb(144, 139, 22);
/* oklch */ color: oklch(62.2% 0.127 106.9);
Tailwind
colors: {
  custom: {
    50: '#b4ac61',
    500: '#908b16',
    950: '#000000',
  },
}
SCSS
$custom: #908b16;
$custom-light: #b4ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#908b16",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 57.541,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62158,
    "c": 0.12707,
    "h": 106.9
  },
  "luminance": 0.24452
}

Semantic roles & 50–950 ramp

primary
#908B16
secondary
#4045C2
accent
#3FF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908B16

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

Preview Lab → · Contrast checker → · Palette generator →

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