#908D2D#908D2D

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

Color values

HEX#908D2D
RGBrgb(144, 141, 45)
HSLhsl(58, 52%, 37%)
HSVhsv(58, 69%, 56%)
CMYKcmyk(0%, 2.1%, 68.7%, 43.5%)
CIE-LABlab(57.24, -11.03, 49.30)
CIE-LCHlch(57.24, 50.52, 102.62°)
OKLaboklab(62.76% -0.035 0.1105)
OKLCHoklch(62.76% 0.116 107.6)
XYZxyz(21.5009, 25.1692, 6.2077)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D2D #2D3090
analogous
#905C2D #908D2D #62902D
triadic
#908D2D #2D908D #8D2D90
tetradic
#908D2D #2D905C #2D3090 #902D62
square
#908D2D #2D905C #2D3090 #902D62
split-complementary
#908D2D #2D6290 #5C2D90
monochromatic
#333210 #615F1E #908D2D #BFBB3C #D0CD68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D2D#FFFFFF#000000##000000
##908D2D1.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)
#99871F
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#9A847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d2d;
/* rgb */ color: rgb(144, 141, 45);
/* oklch */ color: oklch(62.8% 0.116 107.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae6c',
    500: '#908d2d',
    950: '#000000',
  },
}
SCSS
$custom: #908d2d;
$custom-light: #b3ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#908d2d",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 58.182,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.11592,
    "h": 107.6
  },
  "luminance": 0.25169
}

Semantic roles & 50–950 ramp

primary
#908D2D
secondary
#6265B6
accent
#50DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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