#908D15#908D15

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

Color values

HEX#908D15
RGBrgb(144, 141, 21)
HSLhsl(59, 75%, 32%)
HSVhsv(59, 85%, 56%)
CMYKcmyk(0%, 2.1%, 85.4%, 43.5%)
CIE-LABlab(57.11, -12.07, 57.28)
CIE-LCHlch(57.11, 58.54, 101.90°)
OKLaboklab(62.61% -0.0401 0.123)
OKLCHoklch(62.61% 0.129 108)
XYZxyz(21.1627, 25.0339, 4.4266)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D15 #151890
analogous
#905015 #908D15 #559015
triadic
#908D15 #15908D #8D1590
tetradic
#908D15 #159050 #151890 #901555
square
#908D15 #159050 #151890 #901555
split-complementary
#908D15 #155590 #501590
monochromatic
#252405 #5B590D #908D15 #C5C11D #E3DF3D

Accessibility & contrast

On white

3.50
#908D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D15#FFFFFF#000000##000000
##908D151.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #908d15;
/* rgb */ color: rgb(144, 141, 21);
/* oklch */ color: oklch(62.6% 0.129 108.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae61',
    500: '#908d15',
    950: '#000000',
  },
}
SCSS
$custom: #908d15;
$custom-light: #b4ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#908d15",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 58.537,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62612,
    "c": 0.12936,
    "h": 108
  },
  "luminance": 0.25033
}

Semantic roles & 50–950 ramp

primary
#908D15
secondary
#3E42C2
accent
#3BF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908D15

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

Preview Lab → · Contrast checker → · Palette generator →

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