#908A2C#908A2C

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

Color values

HEX#908A2C
RGBrgb(144, 138, 44)
HSLhsl(56, 53%, 37%)
HSVhsv(56, 69%, 56%)
CMYKcmyk(0%, 4.2%, 69.4%, 43.5%)
CIE-LABlab(56.38, -9.48, 48.84)
CIE-LCHlch(56.38, 49.75, 100.98°)
OKLaboklab(62.07% -0.0307 0.1094)
OKLCHoklch(62.07% 0.114 105.7)
XYZxyz(21.0455, 24.2889, 5.9620)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A2C #2C3290
analogous
#90582C #908A2C #64902C
triadic
#908A2C #2C908A #8A2C90
tetradic
#908A2C #2C9058 #2C3290 #902C64
square
#908A2C #2C9058 #2C3290 #902C64
split-complementary
#908A2C #2C6490 #582C90
monochromatic
#32300F #615D1E #908A2C #BFB73A #D0CA66

Accessibility & contrast

On white

3.59
#908A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##908A2C#FFFFFF#000000##000000
##908A2C1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#9B8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a2c;
/* rgb */ color: rgb(144, 138, 44);
/* oklch */ color: oklch(62.1% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#b3ab6b',
    500: '#908a2c',
    950: '#000000',
  },
}
SCSS
$custom: #908a2c;
$custom-light: #b3ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908a2c",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 56.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62067,
    "c": 0.1136,
    "h": 105.7
  },
  "luminance": 0.24288
}

Semantic roles & 50–950 ramp

primary
#908A2C
secondary
#6166B7
accent
#54DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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