#8A9827#8A9827

#8A9827 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.134 H 116.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A9827
RGBrgb(138, 152, 39)
HSLhsl(67, 59%, 37%)
HSVhsv(67, 74%, 60%)
CMYKcmyk(9.2%, 0%, 74.3%, 40.4%)
CIE-LABlab(59.89, -19.78, 54.07)
CIE-LCHlch(59.89, 57.57, 110.10°)
OKLaboklab(64.75% -0.0597 0.1197)
OKLCHoklch(64.75% 0.134 116.5)
XYZxyz(22.0762, 28.0065, 6.1619)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9827 #352798
analogous
#986E27 #8A9827 #519827
triadic
#8A9827 #278A98 #98278A
tetradic
#8A9827 #27986E #352798 #982751
square
#8A9827 #27986E #352798 #982751
split-complementary
#8A9827 #275198 #6E2798
monochromatic
#32370E #5E671B #8A9827 #B6C933 #C8D763

Accessibility & contrast

On white

3.18
#8A9827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9827
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9827#FFFFFF#000000##000000
##8A98271.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39010
Deuteranopia (green-blind)
#A29131
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9827;
/* rgb */ color: rgb(138, 152, 39);
/* oklch */ color: oklch(64.7% 0.134 116.5);
Tailwind
colors: {
  custom: {
    50: '#afb66a',
    500: '#8a9827',
    950: '#000000',
  },
}
SCSS
$custom: #8a9827;
$custom-light: #afb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9827",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 67.434,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64749,
    "c": 0.13374,
    "h": 116.5
  },
  "luminance": 0.28006
}

Semantic roles & 50–950 ramp

primary
#8A9827
secondary
#6A5EBC
accent
#45E259
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9827

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

Preview Lab → · Contrast checker → · Palette generator →

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