#908D2C#908D2C

#908D2C 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#908D2C
RGBrgb(144, 141, 44)
HSLhsl(58, 53%, 37%)
HSVhsv(58, 69%, 56%)
CMYKcmyk(0%, 2.1%, 69.4%, 43.5%)
CIE-LABlab(57.23, -11.09, 49.70)
CIE-LCHlch(57.23, 50.93, 102.58°)
OKLaboklab(62.75% -0.0352 0.1112)
OKLCHoklch(62.75% 0.117 107.6)
XYZxyz(21.4819, 25.1616, 6.1075)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D2C #2C2F90
analogous
#905B2C #908D2C #61902C
triadic
#908D2C #2C908D #8D2C90
tetradic
#908D2C #2C905B #2C2F90 #902C61
square
#908D2C #2C905B #2C2F90 #902C61
split-complementary
#908D2C #2C6190 #5B2C90
monochromatic
#32310F #615F1E #908D2C #BFBB3A #D0CD66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #908d2c;
/* rgb */ color: rgb(144, 141, 44);
/* oklch */ color: oklch(62.7% 0.117 107.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae6b',
    500: '#908d2c',
    950: '#000000',
  },
}
SCSS
$custom: #908d2c;
$custom-light: #b3ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908d2c",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 58.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6275,
    "c": 0.11665,
    "h": 107.6
  },
  "luminance": 0.25161
}

Semantic roles & 50–950 ramp

primary
#908D2C
secondary
#6164B7
accent
#50DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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