#908317#908317

#908317 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.120 H 101.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#908317
RGBrgb(144, 131, 23)
HSLhsl(54, 72%, 33%)
HSVhsv(54, 84%, 56%)
CMYKcmyk(0%, 9%, 84%, 43.5%)
CIE-LABlab(54.26, -6.60, 54.34)
CIE-LCHlch(54.26, 54.74, 96.92°)
OKLaboklab(60.35% -0.0246 0.117)
OKLCHoklch(60.35% 0.12 101.9)
XYZxyz(19.7735, 22.2247, 4.0587)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908317 #172490
analogous
#904717 #908317 #609017
triadic
#908317 #179083 #831790
tetradic
#908317 #179047 #172490 #901760
square
#908317 #179047 #172490 #901760
split-complementary
#908317 #176090 #471790
monochromatic
#262306 #5B530F #908317 #C5B31F #E1CF41

Accessibility & contrast

On white

3.86
#908317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#908317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908317
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908317#FFFFFF#000000##000000
##9083171.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#9C7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #908317;
/* rgb */ color: rgb(144, 131, 23);
/* oklch */ color: oklch(60.3% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#b4a660',
    500: '#908317',
    950: '#000000',
  },
}
SCSS
$custom: #908317;
$custom-light: #b4a660;
$custom-dark: #000000;
JSON
{
  "hex": "#908317",
  "rgb": {
    "r": 144,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 53.554,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.11954,
    "h": 101.9
  },
  "luminance": 0.22224
}

Semantic roles & 50–950 ramp

primary
#908317
secondary
#424FC1
accent
#4CEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #908317

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

Preview Lab → · Contrast checker → · Palette generator →

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