#908E16#908E16

#908E16 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.130 H 108.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#908E16
RGBrgb(144, 142, 22)
HSLhsl(59, 73%, 33%)
HSVhsv(59, 85%, 56%)
CMYKcmyk(0%, 1.4%, 84.7%, 43.5%)
CIE-LABlab(57.40, -12.58, 57.27)
CIE-LCHlch(57.40, 58.63, 102.39°)
OKLaboklab(62.85% -0.0414 0.1232)
OKLCHoklch(62.85% 0.13 108.6)
XYZxyz(21.3203, 25.3339, 4.5258)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E16 #161890
analogous
#905116 #908E16 #559016
triadic
#908E16 #16908E #8E1690
tetradic
#908E16 #169051 #161890 #901655
square
#908E16 #169051 #161890 #901655
split-complementary
#908E16 #165590 #511690
monochromatic
#262506 #5B5A0E #908E16 #C5C21E #E2DF3F

Accessibility & contrast

On white

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

On black

6.07
#908E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E16
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E16#FFFFFF#000000##000000
##908E161.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8C22
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e16;
/* rgb */ color: rgb(144, 142, 22);
/* oklch */ color: oklch(62.8% 0.130 108.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae61',
    500: '#908e16',
    950: '#000000',
  },
}
SCSS
$custom: #908e16;
$custom-light: #b4ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#908e16",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 59.016,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62845,
    "c": 0.12993,
    "h": 108.6
  },
  "luminance": 0.25333
}

Semantic roles & 50–950 ramp

primary
#908E16
secondary
#4042C2
accent
#3BF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E16

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

Preview Lab → · Contrast checker → · Palette generator →

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