#908E18#908E18

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

Color values

HEX#908E18
RGBrgb(144, 142, 24)
HSLhsl(59, 71%, 33%)
HSVhsv(59, 83%, 56%)
CMYKcmyk(0%, 1.4%, 83.3%, 43.5%)
CIE-LABlab(57.41, -12.51, 56.75)
CIE-LCHlch(57.41, 58.11, 102.44°)
OKLaboklab(62.85% -0.0411 0.1224)
OKLCHoklch(62.85% 0.129 108.6)
XYZxyz(21.3403, 25.3420, 4.6313)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E18 #181A90
analogous
#905218 #908E18 #569018
triadic
#908E18 #18908E #8E1890
tetradic
#908E18 #189052 #181A90 #901856
square
#908E18 #189052 #181A90 #901856
split-complementary
#908E18 #185690 #521890
monochromatic
#272707 #5C5A0F #908E18 #C4C221 #E0DD43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E18#FFFFFF#000000##000000
##908E181.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)
#9A8800
Deuteranopia (green-blind)
#9C8C23
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e18;
/* rgb */ color: rgb(144, 142, 24);
/* oklch */ color: oklch(62.9% 0.129 108.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae62',
    500: '#908e18',
    950: '#000000',
  },
}
SCSS
$custom: #908e18;
$custom-light: #b4ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#908e18",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 59,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.12911,
    "h": 108.6
  },
  "luminance": 0.25341
}

Semantic roles & 50–950 ramp

primary
#908E18
secondary
#4345C0
accent
#3DEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E18

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

Preview Lab → · Contrast checker → · Palette generator →

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