#908A18#908A18

#908A18 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.125 H 106.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#908A18
RGBrgb(144, 138, 24)
HSLhsl(57, 71%, 33%)
HSVhsv(57, 83%, 56%)
CMYKcmyk(0%, 4.2%, 83.3%, 43.5%)
CIE-LABlab(56.26, -10.37, 55.77)
CIE-LCHlch(56.26, 56.72, 100.54°)
OKLaboklab(61.94% -0.0351 0.1203)
OKLCHoklch(61.94% 0.125 106.3)
XYZxyz(20.7559, 24.1730, 4.4365)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A18 #181E90
analogous
#904E18 #908A18 #5A9018
triadic
#908A18 #18908A #8A1890
tetradic
#908A18 #18904E #181E90 #90185A
square
#908A18 #18904E #181E90 #90185A
split-complementary
#908A18 #185A90 #4E1890
monochromatic
#272507 #5C580F #908A18 #C4BC21 #E0D843

Accessibility & contrast

On white

3.60
#908A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#908A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A18
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A18#FFFFFF#000000##000000
##908A181.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a18;
/* rgb */ color: rgb(144, 138, 24);
/* oklch */ color: oklch(61.9% 0.125 106.3);
Tailwind
colors: {
  custom: {
    50: '#b4ab61',
    500: '#908a18',
    950: '#000000',
  },
}
SCSS
$custom: #908a18;
$custom-light: #b4ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#908a18",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 57,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.12529,
    "h": 106.3
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#908A18
secondary
#434AC0
accent
#43EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908A18

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

Preview Lab → · Contrast checker → · Palette generator →

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