#908A2B#908A2B

#908A2B is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.114 H 105.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#908A2B
RGBrgb(144, 138, 43)
HSLhsl(56, 54%, 37%)
HSVhsv(56, 70%, 56%)
CMYKcmyk(0%, 4.2%, 70.1%, 43.5%)
CIE-LABlab(56.37, -9.53, 49.24)
CIE-LCHlch(56.37, 50.16, 100.96°)
OKLaboklab(62.06% -0.031 0.1101)
OKLCHoklch(62.06% 0.114 105.7)
XYZxyz(21.0269, 24.2814, 5.8642)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A2B #2B3190
analogous
#90582B #908A2B #64902B
triadic
#908A2B #2B908A #8A2B90
tetradic
#908A2B #2B9058 #2B3190 #902B64
square
#908A2B #2B9058 #2B3190 #902B64
split-complementary
#908A2B #2B6490 #582B90
monochromatic
#32300F #615D1D #908A2B #BFB739 #D1CA65

Accessibility & contrast

On white

3.59
#908A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#908A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A2B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A2B#FFFFFF#000000##000000
##908A2B1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851D
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#9B8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a2b;
/* rgb */ color: rgb(144, 138, 43);
/* oklch */ color: oklch(62.1% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#b3ab6a',
    500: '#908a2b',
    950: '#000000',
  },
}
SCSS
$custom: #908a2b;
$custom-light: #b3ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#908a2b",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 56.436,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62059,
    "c": 0.11432,
    "h": 105.7
  },
  "luminance": 0.24281
}

Semantic roles & 50–950 ramp

primary
#908A2B
secondary
#6065B7
accent
#53DD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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