#8A9D15#8A9D15

#8A9D15 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.8% C 0.148 H 118.2°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A9D15
RGBrgb(138, 157, 21)
HSLhsl(68, 76%, 35%)
HSVhsv(68, 87%, 62%)
CMYKcmyk(12.1%, 0%, 86.6%, 38.4%)
CIE-LABlab(61.28, -23.02, 60.58)
CIE-LCHlch(61.28, 64.80, 110.80°)
OKLaboklab(65.84% -0.0699 0.1305)
OKLCHoklch(65.84% 0.148 118.2)
XYZxyz(22.6741, 29.5716, 5.2227)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D15 #28159D
analogous
#9D6C15 #8A9D15 #469D15
triadic
#8A9D15 #158A9D #9D158A
tetradic
#8A9D15 #159D6C #28159D #9D1546
square
#8A9D15 #159D6C #28159D #9D1546
split-complementary
#8A9D15 #15469D #6C159D
monochromatic
#2B3107 #5B670E #8A9D15 #B9D31C #D0E646

Accessibility & contrast

On white

3.04
#8A9D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8A9D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D15
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D15#FFFFFF#000000##000000
##8A9D151.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69425
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d15;
/* rgb */ color: rgb(138, 157, 21);
/* oklch */ color: oklch(65.8% 0.148 118.2);
Tailwind
colors: {
  custom: {
    50: '#b0b963',
    500: '#8a9d15',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d15;
$custom-light: #b0b963;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d15",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 21
  },
  "hsl": {
    "h": 68.382,
    "s": 76.404,
    "l": 34.902
  },
  "oklch": {
    "l": 0.65839,
    "c": 0.148,
    "h": 118.2
  },
  "luminance": 0.29571
}

Semantic roles & 50–950 ramp

primary
#8A9D15
secondary
#5947C7
accent
#35F34F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9D15

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

Preview Lab → · Contrast checker → · Palette generator →

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