#908D18#908D18

#908D18 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.128 H 108.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#908D18
RGBrgb(144, 141, 24)
HSLhsl(59, 71%, 33%)
HSVhsv(59, 83%, 56%)
CMYKcmyk(0%, 2.1%, 83.3%, 43.5%)
CIE-LABlab(57.12, -11.98, 56.50)
CIE-LCHlch(57.12, 57.76, 101.97°)
OKLaboklab(62.62% -0.0396 0.1219)
OKLCHoklch(62.62% 0.128 108)
XYZxyz(21.1922, 25.0457, 4.5820)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D18 #181B90
analogous
#905118 #908D18 #579018
triadic
#908D18 #18908D #8D1890
tetradic
#908D18 #189051 #181B90 #901857
square
#908D18 #189051 #181B90 #901857
split-complementary
#908D18 #185790 #511890
monochromatic
#272607 #5C5A0F #908D18 #C4C021 #E0DC43

Accessibility & contrast

On white

3.49
#908D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#908D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D18
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D18#FFFFFF#000000##000000
##908D181.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8B23
Tritanopia (blue-blind)
#9B8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d18;
/* rgb */ color: rgb(144, 141, 24);
/* oklch */ color: oklch(62.6% 0.128 108.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae62',
    500: '#908d18',
    950: '#000000',
  },
}
SCSS
$custom: #908d18;
$custom-light: #b4ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#908d18",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 58.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62624,
    "c": 0.12814,
    "h": 108
  },
  "luminance": 0.25045
}

Semantic roles & 50–950 ramp

primary
#908D18
secondary
#4346C0
accent
#3EEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D18

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

Preview Lab → · Contrast checker → · Palette generator →

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