#908C17#908C17

#908C17 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.4% C 0.128 H 107.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#908C17
RGBrgb(144, 140, 23)
HSLhsl(58, 72%, 33%)
HSVhsv(58, 84%, 56%)
CMYKcmyk(0%, 2.8%, 84%, 43.5%)
CIE-LABlab(56.83, -11.48, 56.53)
CIE-LCHlch(56.83, 57.68, 101.48°)
OKLaboklab(62.39% -0.0383 0.1217)
OKLCHoklch(62.39% 0.128 107.5)
XYZxyz(21.0352, 24.7481, 4.4793)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C17 #171B90
analogous
#905017 #908C17 #579017
triadic
#908C17 #17908C #8C1790
tetradic
#908C17 #179050 #171B90 #901757
square
#908C17 #179050 #171B90 #901757
split-complementary
#908C17 #175790 #501790
monochromatic
#262506 #5B590F #908C17 #C5BF1F #E1DB41

Accessibility & contrast

On white

3.53
#908C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#908C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C17
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C17#FFFFFF#000000##000000
##908C171.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9B8A22
Tritanopia (blue-blind)
#9B8277
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908c17;
/* rgb */ color: rgb(144, 140, 23);
/* oklch */ color: oklch(62.4% 0.128 107.5);
Tailwind
colors: {
  custom: {
    50: '#b4ad61',
    500: '#908c17',
    950: '#000000',
  },
}
SCSS
$custom: #908c17;
$custom-light: #b4ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#908c17",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 58.017,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62391,
    "c": 0.1276,
    "h": 107.5
  },
  "luminance": 0.24747
}

Semantic roles & 50–950 ramp

primary
#908C17
secondary
#4246C1
accent
#3FEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908C17

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

Preview Lab → · Contrast checker → · Palette generator →

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