#908817#908817

#908817 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.124 H 105.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#908817
RGBrgb(144, 136, 23)
HSLhsl(56, 72%, 33%)
HSVhsv(56, 84%, 56%)
CMYKcmyk(0%, 5.6%, 84%, 43.5%)
CIE-LABlab(55.69, -9.32, 55.55)
CIE-LCHlch(55.69, 56.33, 99.53°)
OKLaboklab(61.48% -0.0323 0.1196)
OKLCHoklch(61.48% 0.124 105.1)
XYZxyz(20.4613, 23.6003, 4.2880)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908817 #171F90
analogous
#904B17 #908817 #5B9017
triadic
#908817 #179088 #881790
tetradic
#908817 #17904B #171F90 #90175B
square
#908817 #17904B #171F90 #90175B
split-complementary
#908817 #175B90 #4B1790
monochromatic
#262406 #5B560F #908817 #C5BA1F #E1D641

Accessibility & contrast

On white

3.67
#908817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#908817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908817
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908817#FFFFFF#000000##000000
##9088171.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#988721
Tritanopia (blue-blind)
#9B7E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #908817;
/* rgb */ color: rgb(144, 136, 23);
/* oklch */ color: oklch(61.5% 0.124 105.1);
Tailwind
colors: {
  custom: {
    50: '#b4aa61',
    500: '#908817',
    950: '#000000',
  },
}
SCSS
$custom: #908817;
$custom-light: #b4aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#908817",
  "rgb": {
    "r": 144,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 56.033,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.12389,
    "h": 105.1
  },
  "luminance": 0.23599
}

Semantic roles & 50–950 ramp

primary
#908817
secondary
#424AC1
accent
#45EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908817

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

Preview Lab → · Contrast checker → · Palette generator →

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