#908E2C#908E2C

#908E2C is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.118 H 108.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#908E2C
RGBrgb(144, 142, 44)
HSLhsl(59, 53%, 37%)
HSVhsv(59, 69%, 56%)
CMYKcmyk(0%, 1.4%, 69.4%, 43.5%)
CIE-LABlab(57.52, -11.63, 49.99)
CIE-LCHlch(57.52, 51.33, 103.09°)
OKLaboklab(62.98% -0.0368 0.1118)
OKLCHoklch(62.98% 0.118 108.2)
XYZxyz(21.6300, 25.4578, 6.1568)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E2C #2C2E90
analogous
#905C2C #908E2C #60902C
triadic
#908E2C #2C908E #8E2C90
tetradic
#908E2C #2C905C #2C2E90 #902C60
square
#908E2C #2C905C #2C2E90 #902C60
split-complementary
#908E2C #2C6090 #5C2C90
monochromatic
#32320F #61601E #908E2C #BFBC3A #D0CE66

Accessibility & contrast

On white

3.45
#908E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#908E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E2C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E2C#FFFFFF#000000##000000
##908E2C1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881D
Deuteranopia (green-blind)
#9B8C33
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e2c;
/* rgb */ color: rgb(144, 142, 44);
/* oklch */ color: oklch(63.0% 0.118 108.2);
Tailwind
colors: {
  custom: {
    50: '#b3ae6b',
    500: '#908e2c',
    950: '#000000',
  },
}
SCSS
$custom: #908e2c;
$custom-light: #b3ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908e2c",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 58.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62978,
    "c": 0.1177,
    "h": 108.2
  },
  "luminance": 0.25457
}

Semantic roles & 50–950 ramp

primary
#908E2C
secondary
#6163B7
accent
#4EDD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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