#908A17#908A17

#908A17 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.126 H 106.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#908A17
RGBrgb(144, 138, 23)
HSLhsl(57, 72%, 33%)
HSVhsv(57, 84%, 56%)
CMYKcmyk(0%, 4.2%, 84%, 43.5%)
CIE-LABlab(56.26, -10.40, 56.04)
CIE-LCHlch(56.26, 57.00, 100.52°)
OKLaboklab(61.93% -0.0353 0.1207)
OKLCHoklch(61.93% 0.126 106.3)
XYZxyz(20.7456, 24.1689, 4.3827)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A17 #171D90
analogous
#904E17 #908A17 #599017
triadic
#908A17 #17908A #8A1790
tetradic
#908A17 #17904E #171D90 #901759
square
#908A17 #17904E #171D90 #901759
split-complementary
#908A17 #175990 #4E1790
monochromatic
#262506 #5B570F #908A17 #C5BD1F #E1D941

Accessibility & contrast

On white

3.60
#908A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#908A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A17
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A17#FFFFFF#000000##000000
##908A171.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a17;
/* rgb */ color: rgb(144, 138, 23);
/* oklch */ color: oklch(61.9% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#b4ab61',
    500: '#908a17',
    950: '#000000',
  },
}
SCSS
$custom: #908a17;
$custom-light: #b4ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#908a17",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 57.025,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.12572,
    "h": 106.3
  },
  "luminance": 0.24168
}

Semantic roles & 50–950 ramp

primary
#908A17
secondary
#4248C1
accent
#42EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908A17

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

Preview Lab → · Contrast checker → · Palette generator →

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