#908E2A#908E2A

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

Color values

HEX#908E2A
RGBrgb(144, 142, 42)
HSLhsl(59, 55%, 36%)
HSVhsv(59, 71%, 56%)
CMYKcmyk(0%, 1.4%, 70.8%, 43.5%)
CIE-LABlab(57.50, -11.74, 50.78)
CIE-LCHlch(57.50, 52.12, 103.02°)
OKLaboklab(62.96% -0.0373 0.1131)
OKLCHoklch(62.96% 0.119 108.2)
XYZxyz(21.5933, 25.4431, 5.9636)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E2A #2A2C90
analogous
#905B2A #908E2A #5F902A
triadic
#908E2A #2A908E #8E2A90
tetradic
#908E2A #2A905B #2A2C90 #902A5F
square
#908E2A #2A905B #2A2C90 #902A5F
split-complementary
#908E2A #2A5F90 #5B2A90
monochromatic
#31310E #615F1C #908E2A #BFBD38 #D1CF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E2A#FFFFFF#000000##000000
##908E2A1.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)
#9A881A
Deuteranopia (green-blind)
#9B8C31
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e2a;
/* rgb */ color: rgb(144, 142, 42);
/* oklch */ color: oklch(63.0% 0.119 108.2);
Tailwind
colors: {
  custom: {
    50: '#b4ae6a',
    500: '#908e2a',
    950: '#000000',
  },
}
SCSS
$custom: #908e2a;
$custom-light: #b4ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#908e2a",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 58.824,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62963,
    "c": 0.1191,
    "h": 108.2
  },
  "luminance": 0.25442
}

Semantic roles & 50–950 ramp

primary
#908E2A
secondary
#5E60B7
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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