#908D19#908D19

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

Color values

HEX#908D19
RGBrgb(144, 141, 25)
HSLhsl(58, 70%, 33%)
HSVhsv(58, 83%, 56%)
CMYKcmyk(0%, 2.1%, 82.6%, 43.5%)
CIE-LABlab(57.12, -11.95, 56.23)
CIE-LCHlch(57.12, 57.48, 102.00°)
OKLaboklab(62.63% -0.0394 0.1215)
OKLCHoklch(62.63% 0.128 108)
XYZxyz(21.2028, 25.0500, 4.6378)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D19 #191C90
analogous
#905119 #908D19 #589019
triadic
#908D19 #19908D #8D1990
tetradic
#908D19 #199051 #191C90 #901958
square
#908D19 #199051 #191C90 #901958
split-complementary
#908D19 #195890 #511990
monochromatic
#282707 #5C5A10 #908D19 #C4C022 #DFDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D19#FFFFFF#000000##000000
##908D191.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)
#9A8700
Deuteranopia (green-blind)
#9B8B24
Tritanopia (blue-blind)
#9B8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d19;
/* rgb */ color: rgb(144, 141, 25);
/* oklch */ color: oklch(62.6% 0.128 108.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae62',
    500: '#908d19',
    950: '#000000',
  },
}
SCSS
$custom: #908d19;
$custom-light: #b4ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#908d19",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 58.487,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62629,
    "c": 0.12771,
    "h": 108
  },
  "luminance": 0.25049
}

Semantic roles & 50–950 ramp

primary
#908D19
secondary
#4548C0
accent
#3FED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D19

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

Preview Lab → · Contrast checker → · Palette generator →

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