#908031#908031

#908031 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.100 H 97.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#908031
RGBrgb(144, 128, 49)
HSLhsl(50, 49%, 38%)
HSVhsv(50, 66%, 56%)
CMYKcmyk(0%, 11.1%, 66%, 43.5%)
CIE-LABlab(53.59, -3.67, 43.74)
CIE-LCHlch(53.59, 43.90, 94.80°)
OKLaboklab(59.87% -0.0136 0.0995)
OKLCHoklch(59.87% 0.1 97.8)
XYZxyz(19.7760, 21.5903, 6.0308)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908031 #314190
analogous
#905131 #908031 #709031
triadic
#908031 #319080 #803190
tetradic
#908031 #319051 #314190 #903170
square
#908031 #319051 #314190 #903170
split-complementary
#908031 #317090 #513190
monochromatic
#352F12 #625721 #908031 #BEA941 #CEBD6E

Accessibility & contrast

On white

3.95
#908031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#908031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908031
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908031#FFFFFF#000000##000000
##9080311.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#918235
Tritanopia (blue-blind)
#9B776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #908031;
/* rgb */ color: rgb(144, 128, 49);
/* oklch */ color: oklch(59.9% 0.100 97.8);
Tailwind
colors: {
  custom: {
    50: '#b3a46d',
    500: '#908031',
    950: '#000000',
  },
}
SCSS
$custom: #908031;
$custom-light: #b3a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#908031",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 49.895,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.10038,
    "h": 97.8
  },
  "luminance": 0.21589
}

Semantic roles & 50–950 ramp

primary
#908031
secondary
#6875B5
accent
#66D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #908031

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

Preview Lab → · Contrast checker → · Palette generator →

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