#908C18#908C18

#908C18 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.127 H 107.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#908C18
RGBrgb(144, 140, 24)
HSLhsl(58, 71%, 33%)
HSVhsv(58, 83%, 56%)
CMYKcmyk(0%, 2.8%, 83.3%, 43.5%)
CIE-LABlab(56.83, -11.45, 56.26)
CIE-LCHlch(56.83, 57.41, 101.50°)
OKLaboklab(62.4% -0.0381 0.1213)
OKLCHoklch(62.4% 0.127 107.4)
XYZxyz(21.0454, 24.7522, 4.5330)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C18 #181C90
analogous
#905018 #908C18 #589018
triadic
#908C18 #18908C #8C1890
tetradic
#908C18 #189050 #181C90 #901858
square
#908C18 #189050 #181C90 #901858
split-complementary
#908C18 #185890 #501890
monochromatic
#272607 #5C590F #908C18 #C4BF21 #E0DA43

Accessibility & contrast

On white

3.53
#908C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#908C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C18
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C18#FFFFFF#000000##000000
##908C181.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9B8A23
Tritanopia (blue-blind)
#9B8277
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908c18;
/* rgb */ color: rgb(144, 140, 24);
/* oklch */ color: oklch(62.4% 0.127 107.4);
Tailwind
colors: {
  custom: {
    50: '#b4ad62',
    500: '#908c18',
    950: '#000000',
  },
}
SCSS
$custom: #908c18;
$custom-light: #b4ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#908c18",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 58,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62395,
    "c": 0.12718,
    "h": 107.4
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

primary
#908C18
secondary
#4348C0
accent
#40EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908C18

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

Preview Lab → · Contrast checker → · Palette generator →

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