#8A9518#8A9518

#8A9518 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.138 H 115.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A9518
RGBrgb(138, 149, 24)
HSLhsl(65, 72%, 34%)
HSVhsv(65, 84%, 58%)
CMYKcmyk(7.4%, 0%, 83.9%, 41.6%)
CIE-LABlab(58.94, -18.87, 57.87)
CIE-LCHlch(58.94, 60.87, 108.06°)
OKLaboklab(63.96% -0.0583 0.1251)
OKLCHoklch(63.96% 0.138 115)
XYZxyz(21.3942, 26.9645, 4.9416)
Luminance0.2696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9518 #231895
analogous
#956218 #8A9518 #4C9518
triadic
#8A9518 #188A95 #95188A
tetradic
#8A9518 #189562 #231895 #95184C
square
#8A9518 #189562 #231895 #95184C
split-complementary
#8A9518 #184C95 #621895
monochromatic
#282C07 #596010 #8A9518 #BBCA20 #D4E146

Accessibility & contrast

On white

3.28
#8A9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8A9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9518
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9518#FFFFFF#000000##000000
##8A95181.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F25
Tritanopia (blue-blind)
#948C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9518;
/* rgb */ color: rgb(138, 149, 24);
/* oklch */ color: oklch(64.0% 0.138 115.0);
Tailwind
colors: {
  custom: {
    50: '#b0b463',
    500: '#8a9518',
    950: '#000000',
  },
}
SCSS
$custom: #8a9518;
$custom-light: #b0b463;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9518",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 65.28,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.13803,
    "h": 115
  },
  "luminance": 0.26964
}

Semantic roles & 50–950 ramp

primary
#8A9518
secondary
#5146C2
accent
#39EF49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9518

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

Preview Lab → · Contrast checker → · Palette generator →

#8A9518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva