#8A9D28#8A9D28

#8A9D28 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 65.9% C 0.139 H 118.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9D28
RGBrgb(138, 157, 40)
HSLhsl(70, 59%, 39%)
HSVhsv(70, 75%, 62%)
CMYKcmyk(12.1%, 0%, 74.5%, 38.4%)
CIE-LABlab(61.37, -22.26, 55.12)
CIE-LCHlch(61.37, 59.45, 111.99°)
OKLaboklab(65.94% -0.0664 0.1221)
OKLCHoklch(65.94% 0.139 118.5)
XYZxyz(22.9217, 29.6706, 6.5265)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D28 #3B289D
analogous
#9D7528 #8A9D28 #4F9D28
triadic
#8A9D28 #288A9D #9D288A
tetradic
#8A9D28 #289D75 #3B289D #9D284F
square
#8A9D28 #289D75 #3B289D #9D284F
split-complementary
#8A9D28 #284F9D #75289D
monochromatic
#343B0F #5F6C1C #8A9D28 #B4CC36 #C6D867

Accessibility & contrast

On white

3.03
#8A9D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A9D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D28
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D28#FFFFFF#000000##000000
##8A9D281.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89410
Deuteranopia (green-blind)
#A59532
Tritanopia (blue-blind)
#929487
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d28;
/* rgb */ color: rgb(138, 157, 40);
/* oklch */ color: oklch(65.9% 0.139 118.5);
Tailwind
colors: {
  custom: {
    50: '#afb96b',
    500: '#8a9d28',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d28;
$custom-light: #afb96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d28",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 69.744,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65936,
    "c": 0.139,
    "h": 118.5
  },
  "luminance": 0.2967
}

Semantic roles & 50–950 ramp

primary
#8A9D28
secondary
#7162BE
accent
#45E35F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D28

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

Preview Lab → · Contrast checker → · Palette generator →

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