#8A9E1A#8A9E1A

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

Color values

HEX#8A9E1A
RGBrgb(138, 158, 26)
HSLhsl(69, 72%, 36%)
HSVhsv(69, 84%, 62%)
CMYKcmyk(12.7%, 0%, 83.5%, 38%)
CIE-LABlab(61.60, -23.36, 59.64)
CIE-LCHlch(61.60, 64.05, 111.39°)
OKLaboklab(66.1% -0.0705 0.1292)
OKLCHoklch(66.1% 0.147 118.6)
XYZxyz(22.8951, 29.9318, 5.5484)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E1A #2E1A9E
analogous
#9E701A #8A9E1A #489E1A
triadic
#8A9E1A #1A8A9E #9E1A8A
tetradic
#8A9E1A #1A9E70 #2E1A9E #9E1A48
square
#8A9E1A #1A9E70 #2E1A9E #9E1A48
split-complementary
#8A9E1A #1A489E #701A9E
monochromatic
#2E3509 #5C6911 #8A9E1A #B8D323 #CCE250

Accessibility & contrast

On white

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

On black

6.99
#8A9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9E1A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E1A#FFFFFF#000000##000000
##8A9E1A1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9e1a;
/* rgb */ color: rgb(138, 158, 26);
/* oklch */ color: oklch(66.1% 0.147 118.6);
Tailwind
colors: {
  custom: {
    50: '#b0ba65',
    500: '#8a9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e1a;
$custom-light: #b0ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e1a",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 69.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66097,
    "c": 0.14723,
    "h": 118.6
  },
  "luminance": 0.29932
}

Semantic roles & 50–950 ramp

primary
#8A9E1A
secondary
#614FC5
accent
#39EE55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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