#908C2B#908C2B

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

Color values

HEX#908C2B
RGBrgb(144, 140, 43)
HSLhsl(58, 54%, 37%)
HSVhsv(58, 70%, 56%)
CMYKcmyk(0%, 2.8%, 70.1%, 43.5%)
CIE-LABlab(56.94, -10.61, 49.82)
CIE-LCHlch(56.94, 50.93, 102.02°)
OKLaboklab(62.51% -0.034 0.1113)
OKLCHoklch(62.51% 0.116 107)
XYZxyz(21.3165, 24.8606, 5.9607)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C2B #2B2F90
analogous
#905A2B #908C2B #62902B
triadic
#908C2B #2B908C #8C2B90
tetradic
#908C2B #2B905A #2B2F90 #902B62
square
#908C2B #2B905A #2B2F90 #902B62
split-complementary
#908C2B #2B6290 #5A2B90
monochromatic
#32300F #615E1D #908C2B #BFBA39 #D1CD65

Accessibility & contrast

On white

3.52
#908C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#908C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C2B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C2B#FFFFFF#000000##000000
##908C2B1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871C
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908c2b;
/* rgb */ color: rgb(144, 140, 43);
/* oklch */ color: oklch(62.5% 0.116 107.0);
Tailwind
colors: {
  custom: {
    50: '#b3ad6b',
    500: '#908c2b',
    950: '#000000',
  },
}
SCSS
$custom: #908c2b;
$custom-light: #b3ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908c2b",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 57.624,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62514,
    "c": 0.11634,
    "h": 107
  },
  "luminance": 0.2486
}

Semantic roles & 50–950 ramp

primary
#908C2B
secondary
#6063B7
accent
#50DD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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