#908518#908518

#908518 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.121 H 103.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#908518
RGBrgb(144, 133, 24)
HSLhsl(55, 71%, 33%)
HSVhsv(55, 83%, 56%)
CMYKcmyk(0%, 7.6%, 83.3%, 43.5%)
CIE-LABlab(54.84, -7.66, 54.54)
CIE-LCHlch(54.84, 55.07, 97.99°)
OKLaboklab(60.8% -0.0275 0.1176)
OKLCHoklch(60.8% 0.121 103.2)
XYZxyz(20.0550, 22.7712, 4.2029)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908518 #182390
analogous
#904918 #908518 #5F9018
triadic
#908518 #189085 #851890
tetradic
#908518 #189049 #182390 #90185F
square
#908518 #189049 #182390 #90185F
split-complementary
#908518 #185F90 #491890
monochromatic
#272407 #5C550F #908518 #C4B521 #E0D143

Accessibility & contrast

On white

3.78
#908518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#908518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908518
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908518#FFFFFF#000000##000000
##9085181.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#9C7B71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #908518;
/* rgb */ color: rgb(144, 133, 24);
/* oklch */ color: oklch(60.8% 0.121 103.2);
Tailwind
colors: {
  custom: {
    50: '#b4a861',
    500: '#908518',
    950: '#000000',
  },
}
SCSS
$custom: #908518;
$custom-light: #b4a861;
$custom-dark: #000000;
JSON
{
  "hex": "#908518",
  "rgb": {
    "r": 144,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 54.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60804,
    "c": 0.12079,
    "h": 103.2
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#908518
secondary
#434FC0
accent
#4AEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #908518

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

Preview Lab → · Contrast checker → · Palette generator →

#908518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva