#908C2D#908C2D

#908C2D is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.115 H 106.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#908C2D
RGBrgb(144, 140, 45)
HSLhsl(58, 52%, 37%)
HSVhsv(58, 69%, 56%)
CMYKcmyk(0%, 2.8%, 68.7%, 43.5%)
CIE-LABlab(56.95, -10.50, 49.01)
CIE-LCHlch(56.95, 50.12, 102.09°)
OKLaboklab(62.53% -0.0335 0.1099)
OKLCHoklch(62.53% 0.115 106.9)
XYZxyz(21.3541, 24.8756, 6.1587)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C2D #2D3190
analogous
#905B2D #908C2D #63902D
triadic
#908C2D #2D908C #8C2D90
tetradic
#908C2D #2D905B #2D3190 #902D63
square
#908C2D #2D905B #2D3190 #902D63
split-complementary
#908C2D #2D6390 #5B2D90
monochromatic
#333110 #615F1E #908C2D #BFB93C #D0CC68

Accessibility & contrast

On white

3.51
#908C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#908C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C2D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C2D#FFFFFF#000000##000000
##908C2D1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871F
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#9A8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908c2d;
/* rgb */ color: rgb(144, 140, 45);
/* oklch */ color: oklch(62.5% 0.115 106.9);
Tailwind
colors: {
  custom: {
    50: '#b3ad6c',
    500: '#908c2d',
    950: '#000000',
  },
}
SCSS
$custom: #908c2d;
$custom-light: #b3ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#908c2d",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 57.576,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.11489,
    "h": 106.9
  },
  "luminance": 0.24875
}

Semantic roles & 50–950 ramp

primary
#908C2D
secondary
#6266B6
accent
#52DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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