#908918#908918

#908918 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.124 H 105.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#908918
RGBrgb(144, 137, 24)
HSLhsl(57, 71%, 33%)
HSVhsv(57, 83%, 56%)
CMYKcmyk(0%, 4.9%, 83.3%, 43.5%)
CIE-LABlab(55.97, -9.83, 55.52)
CIE-LCHlch(55.97, 56.38, 100.04°)
OKLaboklab(61.71% -0.0336 0.1197)
OKLCHoklch(61.71% 0.124 105.7)
XYZxyz(20.6130, 23.8874, 4.3889)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908918 #181F90
analogous
#904D18 #908918 #5B9018
triadic
#908918 #189089 #891890
tetradic
#908918 #18904D #181F90 #90185B
square
#908918 #18904D #181F90 #90185B
split-complementary
#908918 #185B90 #4D1890
monochromatic
#272507 #5C570F #908918 #C4BB21 #E0D643

Accessibility & contrast

On white

3.63
#908918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#908918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908918
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908918#FFFFFF#000000##000000
##9089181.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#9B7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #908918;
/* rgb */ color: rgb(144, 137, 24);
/* oklch */ color: oklch(61.7% 0.124 105.7);
Tailwind
colors: {
  custom: {
    50: '#b4ab61',
    500: '#908918',
    950: '#000000',
  },
}
SCSS
$custom: #908918;
$custom-light: #b4ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#908918",
  "rgb": {
    "r": 144,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 56.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.12437,
    "h": 105.7
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#908918
secondary
#434BC0
accent
#44EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908918

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

Preview Lab → · Contrast checker → · Palette generator →

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