#908B17#908B17

#908B17 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#908B17
RGBrgb(144, 139, 23)
HSLhsl(58, 72%, 33%)
HSVhsv(58, 84%, 56%)
CMYKcmyk(0%, 3.5%, 84%, 43.5%)
CIE-LABlab(56.54, -10.94, 56.28)
CIE-LCHlch(56.54, 57.34, 101.00°)
OKLaboklab(62.16% -0.0368 0.1212)
OKLCHoklch(62.16% 0.127 106.9)
XYZxyz(20.8898, 24.4572, 4.4308)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B17 #171C90
analogous
#904F17 #908B17 #589017
triadic
#908B17 #17908B #8B1790
tetradic
#908B17 #17904F #171C90 #901758
square
#908B17 #17904F #171C90 #901758
split-complementary
#908B17 #175890 #4F1790
monochromatic
#262506 #5B580F #908B17 #C5BE1F #E1DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908B17#FFFFFF#000000##000000
##908B171.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #908b17;
/* rgb */ color: rgb(144, 139, 23);
/* oklch */ color: oklch(62.2% 0.127 106.9);
Tailwind
colors: {
  custom: {
    50: '#b4ac61',
    500: '#908b17',
    950: '#000000',
  },
}
SCSS
$custom: #908b17;
$custom-light: #b4ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#908b17",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 57.521,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.12666,
    "h": 106.9
  },
  "luminance": 0.24456
}

Semantic roles & 50–950 ramp

primary
#908B17
secondary
#4247C1
accent
#40EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908B17

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

Preview Lab → · Contrast checker → · Palette generator →

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