#908A2D#908A2D

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

Color values

HEX#908A2D
RGBrgb(144, 138, 45)
HSLhsl(56, 52%, 37%)
HSVhsv(56, 69%, 56%)
CMYKcmyk(0%, 4.2%, 68.7%, 43.5%)
CIE-LABlab(56.38, -9.42, 48.43)
CIE-LCHlch(56.38, 49.34, 101.00°)
OKLaboklab(62.08% -0.0304 0.1087)
OKLCHoklch(62.08% 0.113 105.6)
XYZxyz(21.0645, 24.2965, 6.0622)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A2D #2D3390
analogous
#90592D #908A2D #64902D
triadic
#908A2D #2D908A #8A2D90
tetradic
#908A2D #2D9059 #2D3390 #902D64
square
#908A2D #2D9059 #2D3390 #902D64
split-complementary
#908A2D #2D6490 #592D90
monochromatic
#333110 #615D1E #908A2D #BFB73C #D0C968

Accessibility & contrast

On white

3.58
#908A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##908A2D#FFFFFF#000000##000000
##908A2D1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968520
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#9B8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a2d;
/* rgb */ color: rgb(144, 138, 45);
/* oklch */ color: oklch(62.1% 0.113 105.6);
Tailwind
colors: {
  custom: {
    50: '#b3ab6c',
    500: '#908a2d',
    950: '#000000',
  },
}
SCSS
$custom: #908a2d;
$custom-light: #b3ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#908a2d",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 56.364,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.11286,
    "h": 105.6
  },
  "luminance": 0.24296
}

Semantic roles & 50–950 ramp

primary
#908A2D
secondary
#6267B6
accent
#55DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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