#908E17#908E17

#908E17 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#908E17
RGBrgb(144, 142, 23)
HSLhsl(59, 72%, 33%)
HSVhsv(59, 84%, 56%)
CMYKcmyk(0%, 1.4%, 84%, 43.5%)
CIE-LABlab(57.40, -12.55, 57.01)
CIE-LCHlch(57.40, 58.38, 102.41°)
OKLaboklab(62.85% -0.0412 0.1228)
OKLCHoklch(62.85% 0.13 108.6)
XYZxyz(21.3301, 25.3379, 4.5776)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E17 #171990
analogous
#905117 #908E17 #569017
triadic
#908E17 #17908E #8E1790
tetradic
#908E17 #179051 #171990 #901756
square
#908E17 #179051 #171990 #901756
split-complementary
#908E17 #175690 #511790
monochromatic
#262606 #5B5A0F #908E17 #C5C21F #E1DE41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E17#FFFFFF#000000##000000
##908E171.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)
#9A8800
Deuteranopia (green-blind)
#9C8C23
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e17;
/* rgb */ color: rgb(144, 142, 23);
/* oklch */ color: oklch(62.8% 0.130 108.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae62',
    500: '#908e17',
    950: '#000000',
  },
}
SCSS
$custom: #908e17;
$custom-light: #b4ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#908e17",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 59.008,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62849,
    "c": 0.12953,
    "h": 108.6
  },
  "luminance": 0.25337
}

Semantic roles & 50–950 ramp

primary
#908E17
secondary
#4244C1
accent
#3CEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E17

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

Preview Lab → · Contrast checker → · Palette generator →

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