#908D2B#908D2B

#908D2B is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.117 H 107.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#908D2B
RGBrgb(144, 141, 43)
HSLhsl(58, 54%, 37%)
HSVhsv(58, 70%, 56%)
CMYKcmyk(0%, 2.1%, 70.1%, 43.5%)
CIE-LABlab(57.23, -11.15, 50.10)
CIE-LCHlch(57.23, 51.33, 102.54°)
OKLaboklab(62.74% -0.0355 0.1119)
OKLCHoklch(62.74% 0.117 107.6)
XYZxyz(21.4633, 25.1542, 6.0097)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D2B #2B2E90
analogous
#905B2B #908D2B #61902B
triadic
#908D2B #2B908D #8D2B90
tetradic
#908D2B #2B905B #2B2E90 #902B61
square
#908D2B #2B905B #2B2E90 #902B61
split-complementary
#908D2B #2B6190 #5B2B90
monochromatic
#32310F #615F1D #908D2B #BFBB39 #D1CE65

Accessibility & contrast

On white

3.48
#908D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#908D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D2B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D2B#FFFFFF#000000##000000
##908D2B1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#9A8479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d2b;
/* rgb */ color: rgb(144, 141, 43);
/* oklch */ color: oklch(62.7% 0.117 107.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae6b',
    500: '#908d2b',
    950: '#000000',
  },
}
SCSS
$custom: #908d2b;
$custom-light: #b3ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908d2b",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 58.218,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.11736,
    "h": 107.6
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#908D2B
secondary
#6062B7
accent
#4FDD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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