#8A9E15#8A9E15

#8A9E15 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.149 H 118.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8A9E15
RGBrgb(138, 158, 21)
HSLhsl(69, 77%, 35%)
HSVhsv(69, 87%, 62%)
CMYKcmyk(12.7%, 0%, 86.7%, 38%)
CIE-LABlab(61.58, -23.51, 60.82)
CIE-LCHlch(61.58, 65.21, 111.14°)
OKLaboklab(66.08% -0.0713 0.131)
OKLCHoklch(66.08% 0.149 118.5)
XYZxyz(22.8440, 29.9113, 5.2794)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E15 #29159E
analogous
#9E6D15 #8A9E15 #469E15
triadic
#8A9E15 #158A9E #9E158A
tetradic
#8A9E15 #159E6D #29159E #9E1546
square
#8A9E15 #159E6D #29159E #9E1546
split-complementary
#8A9E15 #15469E #6D159E
monochromatic
#2C3207 #5B680E #8A9E15 #B9D41C #CFE747

Accessibility & contrast

On white

3.01
#8A9E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8A9E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9E15
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E15#FFFFFF#000000##000000
##8A9E151.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A79526
Tritanopia (blue-blind)
#939586
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e15;
/* rgb */ color: rgb(138, 158, 21);
/* oklch */ color: oklch(66.1% 0.149 118.5);
Tailwind
colors: {
  custom: {
    50: '#b0ba63',
    500: '#8a9e15',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e15;
$custom-light: #b0ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e15",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 68.759,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.66077,
    "c": 0.14912,
    "h": 118.5
  },
  "luminance": 0.29911
}

Semantic roles & 50–950 ramp

primary
#8A9E15
secondary
#5A47C7
accent
#35F351
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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