#908E2D#908E2D

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

Color values

HEX#908E2D
RGBrgb(144, 142, 45)
HSLhsl(59, 52%, 37%)
HSVhsv(59, 69%, 56%)
CMYKcmyk(0%, 1.4%, 68.7%, 43.5%)
CIE-LABlab(57.53, -11.57, 49.59)
CIE-LCHlch(57.53, 50.92, 103.13°)
OKLaboklab(62.99% -0.0365 0.1111)
OKLCHoklch(62.99% 0.117 108.2)
XYZxyz(21.6490, 25.4654, 6.2570)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E2D #2D2F90
analogous
#905D2D #908E2D #61902D
triadic
#908E2D #2D908E #8E2D90
tetradic
#908E2D #2D905D #2D2F90 #902D61
square
#908E2D #2D905D #2D2F90 #902D61
split-complementary
#908E2D #2D6190 #5D2D90
monochromatic
#333210 #61601E #908E2D #BFBC3C #D0CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E2D#FFFFFF#000000##000000
##908E2D1.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)
#9A881F
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e2d;
/* rgb */ color: rgb(144, 142, 45);
/* oklch */ color: oklch(63.0% 0.117 108.2);
Tailwind
colors: {
  custom: {
    50: '#b3ae6c',
    500: '#908e2d',
    950: '#000000',
  },
}
SCSS
$custom: #908e2d;
$custom-light: #b3ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#908e2d",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 58.788,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62987,
    "c": 0.11697,
    "h": 108.2
  },
  "luminance": 0.25465
}

Semantic roles & 50–950 ramp

primary
#908E2D
secondary
#6264B6
accent
#4FDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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