#908E5B#908E5B

#908E5B is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.070 H 106.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#908E5B
RGBrgb(144, 142, 91)
HSLhsl(58, 23%, 46%)
HSVhsv(58, 37%, 56%)
CMYKcmyk(0%, 1.4%, 36.8%, 43.5%)
CIE-LABlab(58.07, -7.39, 27.47)
CIE-LCHlch(58.07, 28.45, 105.06°)
OKLaboklab(63.59% -0.0198 0.0676)
OKLCHoklch(63.59% 0.07 106.3)
XYZxyz(23.0632, 26.0311, 13.7051)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E5B #5B5D90
analogous
#90735B #908E5B #77905B
triadic
#908E5B #5B908E #8E5B90
tetradic
#908E5B #5B9073 #5B5D90 #905B77
square
#908E5B #5B9073 #5B5D90 #905B77
split-complementary
#908E5B #5B7790 #735B90
monochromatic
#45442C #6A6943 #908E5B #ACAA7C #C4C3A1

Accessibility & contrast

On white

3.38
#908E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#908E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E5B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E5B#FFFFFF#000000##000000
##908E5B1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968A57
Deuteranopia (green-blind)
#978D5D
Tritanopia (blue-blind)
#978881
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #908e5b;
/* rgb */ color: rgb(144, 142, 91);
/* oklch */ color: oklch(63.6% 0.070 106.3);
Tailwind
colors: {
  custom: {
    50: '#b1af8a',
    500: '#908e5b',
    950: '#000000',
  },
}
SCSS
$custom: #908e5b;
$custom-light: #b1af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#908e5b",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 57.736,
    "s": 22.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.07042,
    "h": 106.3
  },
  "luminance": 0.26031
}

Semantic roles & 50–950 ramp

primary
#908E5B
secondary
#9596B2
accent
#6CBF69
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #908E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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