#908D1A#908D1A

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

Color values

HEX#908D1A
RGBrgb(144, 141, 26)
HSLhsl(58, 69%, 33%)
HSVhsv(58, 82%, 56%)
CMYKcmyk(0%, 2.1%, 81.9%, 43.5%)
CIE-LABlab(57.13, -11.91, 55.95)
CIE-LCHlch(57.13, 57.20, 102.02°)
OKLaboklab(62.63% -0.0393 0.1211)
OKLCHoklch(62.63% 0.127 108)
XYZxyz(21.2138, 25.0544, 4.6956)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D1A #1A1D90
analogous
#90521A #908D1A #58901A
triadic
#908D1A #1A908D #8D1A90
tetradic
#908D1A #1A9052 #1A1D90 #901A58
square
#908D1A #1A9052 #1A1D90 #901A58
split-complementary
#908D1A #1A5890 #521A90
monochromatic
#282707 #5C5A11 #908D1A #C4C023 #DEDA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D1A#FFFFFF#000000##000000
##908D1A1.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)
#9B8B25
Tritanopia (blue-blind)
#9B8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d1a;
/* rgb */ color: rgb(144, 141, 26);
/* oklch */ color: oklch(62.6% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae63',
    500: '#908d1a',
    950: '#000000',
  },
}
SCSS
$custom: #908d1a;
$custom-light: #b4ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#908d1a",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 58.475,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62634,
    "c": 0.12726,
    "h": 108
  },
  "luminance": 0.25054
}

Semantic roles & 50–950 ramp

primary
#908D1A
secondary
#474ABF
accent
#40EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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