#908917#908917

#908917 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.125 H 105.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#908917
RGBrgb(144, 137, 23)
HSLhsl(57, 72%, 33%)
HSVhsv(57, 84%, 56%)
CMYKcmyk(0%, 4.9%, 84%, 43.5%)
CIE-LABlab(55.97, -9.87, 55.79)
CIE-LCHlch(55.97, 56.66, 100.03°)
OKLaboklab(61.71% -0.0338 0.1201)
OKLCHoklch(61.71% 0.125 105.7)
XYZxyz(20.6028, 23.8833, 4.3351)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908917 #171E90
analogous
#904C17 #908917 #5A9017
triadic
#908917 #179089 #891790
tetradic
#908917 #17904C #171E90 #90175A
square
#908917 #17904C #171E90 #90175A
split-complementary
#908917 #175A90 #4C1790
monochromatic
#262506 #5B570F #908917 #C5BB1F #E1D741

Accessibility & contrast

On white

3.64
#908917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#908917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908917
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908917#FFFFFF#000000##000000
##9089171.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#9B7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #908917;
/* rgb */ color: rgb(144, 137, 23);
/* oklch */ color: oklch(61.7% 0.125 105.7);
Tailwind
colors: {
  custom: {
    50: '#b4ab61',
    500: '#908917',
    950: '#000000',
  },
}
SCSS
$custom: #908917;
$custom-light: #b4ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#908917",
  "rgb": {
    "r": 144,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 56.529,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.1248,
    "h": 105.7
  },
  "luminance": 0.23882
}

Semantic roles & 50–950 ramp

primary
#908917
secondary
#4249C1
accent
#43EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908917

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

Preview Lab → · Contrast checker → · Palette generator →

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