#908F18#908F18

#908F18 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.130 H 109.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#908F18
RGBrgb(144, 143, 24)
HSLhsl(60, 71%, 33%)
HSVhsv(60, 83%, 56%)
CMYKcmyk(0%, 0.7%, 83.3%, 43.5%)
CIE-LABlab(57.69, -13.05, 57.00)
CIE-LCHlch(57.69, 58.47, 102.89°)
OKLaboklab(63.08% -0.0425 0.1229)
OKLCHoklch(63.08% 0.13 109.1)
XYZxyz(21.4898, 25.6409, 4.6812)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F18 #181990
analogous
#905318 #908F18 #559018
triadic
#908F18 #18908F #8F1890
tetradic
#908F18 #189053 #181990 #901855
square
#908F18 #189053 #181990 #901855
split-complementary
#908F18 #185590 #531890
monochromatic
#272707 #5C5B0F #908F18 #C4C321 #E0DE43

Accessibility & contrast

On white

3.43
#908F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#908F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908F18
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908F18#FFFFFF#000000##000000
##908F181.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8C24
Tritanopia (blue-blind)
#9B857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f18;
/* rgb */ color: rgb(144, 143, 24);
/* oklch */ color: oklch(63.1% 0.130 109.1);
Tailwind
colors: {
  custom: {
    50: '#b4af62',
    500: '#908f18',
    950: '#000000',
  },
}
SCSS
$custom: #908f18;
$custom-light: #b4af62;
$custom-dark: #000000;
JSON
{
  "hex": "#908f18",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 59.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.63083,
    "c": 0.1301,
    "h": 109.1
  },
  "luminance": 0.2564
}

Semantic roles & 50–950 ramp

primary
#908F18
secondary
#4344C0
accent
#3BEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908F18

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

Preview Lab → · Contrast checker → · Palette generator →

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