#908D2A#908D2A

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

Color values

HEX#908D2A
RGBrgb(144, 141, 42)
HSLhsl(58, 55%, 36%)
HSVhsv(58, 71%, 56%)
CMYKcmyk(0%, 2.1%, 70.8%, 43.5%)
CIE-LABlab(57.22, -11.20, 50.50)
CIE-LCHlch(57.22, 51.72, 102.51°)
OKLaboklab(62.73% -0.0358 0.1125)
OKLCHoklch(62.73% 0.118 107.6)
XYZxyz(21.4452, 25.1469, 5.9142)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D2A #2A2D90
analogous
#905A2A #908D2A #60902A
triadic
#908D2A #2A908D #8D2A90
tetradic
#908D2A #2A905A #2A2D90 #902A60
square
#908D2A #2A905A #2A2D90 #902A60
split-complementary
#908D2A #2A6090 #5A2A90
monochromatic
#31300E #615F1C #908D2A #BFBB38 #D1CE63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D2A#FFFFFF#000000##000000
##908D2A1.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)
#99871A
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d2a;
/* rgb */ color: rgb(144, 141, 42);
/* oklch */ color: oklch(62.7% 0.118 107.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae6a',
    500: '#908d2a',
    950: '#000000',
  },
}
SCSS
$custom: #908d2a;
$custom-light: #b4ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#908d2a",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 58.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62734,
    "c": 0.11806,
    "h": 107.6
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#908D2A
secondary
#5E61B7
accent
#4EDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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