#908318#908318

#908318 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.119 H 101.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#908318
RGBrgb(144, 131, 24)
HSLhsl(54, 71%, 33%)
HSVhsv(54, 83%, 56%)
CMYKcmyk(0%, 9%, 83.3%, 43.5%)
CIE-LABlab(54.27, -6.56, 54.05)
CIE-LCHlch(54.27, 54.45, 96.92°)
OKLaboklab(60.35% -0.0245 0.1166)
OKLCHoklch(60.35% 0.119 101.9)
XYZxyz(19.7837, 22.2288, 4.1125)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908318 #182590
analogous
#904718 #908318 #619018
triadic
#908318 #189083 #831890
tetradic
#908318 #189047 #182590 #901861
square
#908318 #189047 #182590 #901861
split-complementary
#908318 #186190 #471890
monochromatic
#272407 #5C530F #908318 #C4B321 #E0CF43

Accessibility & contrast

On white

3.86
#908318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#908318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908318
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908318#FFFFFF#000000##000000
##9083181.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#9C7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #908318;
/* rgb */ color: rgb(144, 131, 24);
/* oklch */ color: oklch(60.4% 0.119 101.9);
Tailwind
colors: {
  custom: {
    50: '#b4a660',
    500: '#908318',
    950: '#000000',
  },
}
SCSS
$custom: #908318;
$custom-light: #b4a660;
$custom-dark: #000000;
JSON
{
  "hex": "#908318",
  "rgb": {
    "r": 144,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 53.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.11909,
    "h": 101.9
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

primary
#908318
secondary
#4351C0
accent
#4DEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #908318

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

Preview Lab → · Contrast checker → · Palette generator →

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