#908F17#908F17

#908F17 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.131 H 109.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#908F17
RGBrgb(144, 143, 23)
HSLhsl(60, 72%, 33%)
HSVhsv(60, 84%, 56%)
CMYKcmyk(0%, 0.7%, 84%, 43.5%)
CIE-LABlab(57.69, -13.08, 57.26)
CIE-LCHlch(57.69, 58.73, 102.86°)
OKLaboklab(63.08% -0.0427 0.1233)
OKLCHoklch(63.08% 0.131 109.1)
XYZxyz(21.4796, 25.6368, 4.6274)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F17 #171890
analogous
#905217 #908F17 #559017
triadic
#908F17 #17908F #8F1790
tetradic
#908F17 #179052 #171890 #901755
square
#908F17 #179052 #171890 #901755
split-complementary
#908F17 #175590 #521790
monochromatic
#262606 #5B5B0F #908F17 #C5C31F #E1DF41

Accessibility & contrast

On white

3.43
#908F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#908F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908F17
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908F17#FFFFFF#000000##000000
##908F171.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#9B857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f17;
/* rgb */ color: rgb(144, 143, 23);
/* oklch */ color: oklch(63.1% 0.131 109.1);
Tailwind
colors: {
  custom: {
    50: '#b4af62',
    500: '#908f17',
    950: '#000000',
  },
}
SCSS
$custom: #908f17;
$custom-light: #b4af62;
$custom-dark: #000000;
JSON
{
  "hex": "#908f17",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 59.504,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.13051,
    "h": 109.1
  },
  "luminance": 0.25636
}

Semantic roles & 50–950 ramp

primary
#908F17
secondary
#4243C1
accent
#3AEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908F17

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

Preview Lab → · Contrast checker → · Palette generator →

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