#908B2C#908B2C

#908B2C is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.3% C 0.115 H 106.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#908B2C
RGBrgb(144, 139, 44)
HSLhsl(57, 53%, 37%)
HSVhsv(57, 69%, 56%)
CMYKcmyk(0%, 3.5%, 69.4%, 43.5%)
CIE-LABlab(56.66, -10.02, 49.13)
CIE-LCHlch(56.66, 50.14, 101.52°)
OKLaboklab(62.3% -0.0322 0.11)
OKLCHoklch(62.3% 0.115 106.3)
XYZxyz(21.1896, 24.5771, 6.0101)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B2C #2C3190
analogous
#90592C #908B2C #63902C
triadic
#908B2C #2C908B #8B2C90
tetradic
#908B2C #2C9059 #2C3190 #902C63
square
#908B2C #2C9059 #2C3190 #902C63
split-complementary
#908B2C #2C6390 #592C90
monochromatic
#32310F #615E1E #908B2C #BFB83A #D0CB66

Accessibility & contrast

On white

3.55
#908B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#908B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908B2C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908B2C#FFFFFF#000000##000000
##908B2C1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#9B8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908b2c;
/* rgb */ color: rgb(144, 139, 44);
/* oklch */ color: oklch(62.3% 0.115 106.3);
Tailwind
colors: {
  custom: {
    50: '#b3ac6b',
    500: '#908b2c',
    950: '#000000',
  },
}
SCSS
$custom: #908b2c;
$custom-light: #b3ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908b2c",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 57,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62295,
    "c": 0.1146,
    "h": 106.3
  },
  "luminance": 0.24576
}

Semantic roles & 50–950 ramp

primary
#908B2C
secondary
#6165B7
accent
#52DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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