#908717#908717

#908717 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.3% C 0.123 H 104.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#908717
RGBrgb(144, 135, 23)
HSLhsl(56, 72%, 33%)
HSVhsv(56, 84%, 56%)
CMYKcmyk(0%, 6.2%, 84%, 43.5%)
CIE-LABlab(55.40, -8.78, 55.31)
CIE-LCHlch(55.40, 56.00, 99.02°)
OKLaboklab(61.25% -0.0308 0.1191)
OKLCHoklch(61.25% 0.123 104.5)
XYZxyz(20.3212, 23.3200, 4.2412)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908717 #172090
analogous
#904A17 #908717 #5D9017
triadic
#908717 #179087 #871790
tetradic
#908717 #17904A #172090 #90175D
square
#908717 #17904A #172090 #90175D
split-complementary
#908717 #175D90 #4A1790
monochromatic
#262406 #5B560F #908717 #C5B81F #E1D541

Accessibility & contrast

On white

3.71
#908717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#908717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908717
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908717#FFFFFF#000000##000000
##9087171.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#9B7D73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #908717;
/* rgb */ color: rgb(144, 135, 23);
/* oklch */ color: oklch(61.3% 0.123 104.5);
Tailwind
colors: {
  custom: {
    50: '#b4a961',
    500: '#908717',
    950: '#000000',
  },
}
SCSS
$custom: #908717;
$custom-light: #b4a961;
$custom-dark: #000000;
JSON
{
  "hex": "#908717",
  "rgb": {
    "r": 144,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 55.537,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.12299,
    "h": 104.5
  },
  "luminance": 0.23319
}

Semantic roles & 50–950 ramp

primary
#908717
secondary
#424BC1
accent
#46EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #908717

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

Preview Lab → · Contrast checker → · Palette generator →

#908717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva