#908D1D#908D1D

#908D1D is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.126 H 107.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#908D1D
RGBrgb(144, 141, 29)
HSLhsl(58, 66%, 34%)
HSVhsv(58, 80%, 56%)
CMYKcmyk(0%, 2.1%, 79.9%, 43.5%)
CIE-LABlab(57.14, -11.81, 55.06)
CIE-LCHlch(57.14, 56.31, 102.10°)
OKLaboklab(62.65% -0.0387 0.1197)
OKLCHoklch(62.65% 0.126 107.9)
XYZxyz(21.2491, 25.0685, 4.8815)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D1D #1D2090
analogous
#90541D #908D1D #5A901D
triadic
#908D1D #1D908D #8D1D90
tetradic
#908D1D #1D9054 #1D2090 #901D5A
square
#908D1D #1D9054 #1D2090 #901D5A
split-complementary
#908D1D #1D5A90 #541D90
monochromatic
#2A2908 #5D5B13 #908D1D #C3BF27 #DBD74C

Accessibility & contrast

On white

3.49
#908D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#908D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D1D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D1D#FFFFFF#000000##000000
##908D1D1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#9B8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d1d;
/* rgb */ color: rgb(144, 141, 29);
/* oklch */ color: oklch(62.6% 0.126 107.9);
Tailwind
colors: {
  custom: {
    50: '#b4ae64',
    500: '#908d1d',
    950: '#000000',
  },
}
SCSS
$custom: #908d1d;
$custom-light: #b4ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#908d1d",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 58.435,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62649,
    "c": 0.12582,
    "h": 107.9
  },
  "luminance": 0.25068
}

Semantic roles & 50–950 ramp

primary
#908D1D
secondary
#4B4EBD
accent
#43E93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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