#908331#908331

#908331 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.103 H 100.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#908331
RGBrgb(144, 131, 49)
HSLhsl(52, 49%, 38%)
HSVhsv(52, 66%, 56%)
CMYKcmyk(0%, 9%, 66%, 43.5%)
CIE-LABlab(54.43, -5.34, 44.64)
CIE-LCHlch(54.43, 44.96, 96.82°)
OKLaboklab(60.54% -0.0184 0.1014)
OKLCHoklch(60.54% 0.103 100.3)
XYZxyz(20.1731, 22.3845, 6.1632)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908331 #313E90
analogous
#905331 #908331 #6E9031
triadic
#908331 #319083 #833190
tetradic
#908331 #319053 #313E90 #90316E
square
#908331 #319053 #313E90 #90316E
split-complementary
#908331 #316E90 #533190
monochromatic
#353012 #625921 #908331 #BEAD41 #CEC06E

Accessibility & contrast

On white

3.83
#908331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#908331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908331
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908331#FFFFFF#000000##000000
##9083311.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#938435
Tritanopia (blue-blind)
#9B7A72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #908331;
/* rgb */ color: rgb(144, 131, 49);
/* oklch */ color: oklch(60.5% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#b3a66d',
    500: '#908331',
    950: '#000000',
  },
}
SCSS
$custom: #908331;
$custom-light: #b3a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#908331",
  "rgb": {
    "r": 144,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 51.789,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.10301,
    "h": 100.3
  },
  "luminance": 0.22384
}

Semantic roles & 50–950 ramp

primary
#908331
secondary
#6872B5
accent
#62D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #908331

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

Preview Lab → · Contrast checker → · Palette generator →

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