#908E15#908E15

#908E15 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.130 H 108.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#908E15
RGBrgb(144, 142, 21)
HSLhsl(59, 75%, 32%)
HSVhsv(59, 85%, 56%)
CMYKcmyk(0%, 1.4%, 85.4%, 43.5%)
CIE-LABlab(57.40, -12.61, 57.52)
CIE-LCHlch(57.40, 58.88, 102.36°)
OKLaboklab(62.84% -0.0415 0.1235)
OKLCHoklch(62.84% 0.13 108.6)
XYZxyz(21.3108, 25.3302, 4.4760)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E15 #151790
analogous
#905015 #908E15 #559015
triadic
#908E15 #15908E #8E1590
tetradic
#908E15 #159050 #151790 #901555
square
#908E15 #159050 #151790 #901555
split-complementary
#908E15 #155590 #501590
monochromatic
#252505 #5B590D #908E15 #C5C31D #E3E03D

Accessibility & contrast

On white

3.46
#908E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#908E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E15
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E15#FFFFFF#000000##000000
##908E151.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8C21
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e15;
/* rgb */ color: rgb(144, 142, 21);
/* oklch */ color: oklch(62.8% 0.130 108.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae61',
    500: '#908e15',
    950: '#000000',
  },
}
SCSS
$custom: #908e15;
$custom-light: #b4ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#908e15",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 59.024,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.13032,
    "h": 108.6
  },
  "luminance": 0.25329
}

Semantic roles & 50–950 ramp

primary
#908E15
secondary
#3E40C2
accent
#3AF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908E15

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

Preview Lab → · Contrast checker → · Palette generator →

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