#8A9927#8A9927

#8A9927 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.135 H 116.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A9927
RGBrgb(138, 153, 39)
HSLhsl(68, 59%, 38%)
HSVhsv(68, 75%, 60%)
CMYKcmyk(9.8%, 0%, 74.5%, 40%)
CIE-LABlab(60.19, -20.29, 54.35)
CIE-LCHlch(60.19, 58.01, 110.47°)
OKLaboklab(64.99% -0.0611 0.1203)
OKLCHoklch(64.99% 0.135 116.9)
XYZxyz(22.2392, 28.3325, 6.2162)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9927 #362799
analogous
#996F27 #8A9927 #519927
triadic
#8A9927 #278A99 #99278A
tetradic
#8A9927 #27996F #362799 #992751
square
#8A9927 #27996F #362799 #992751
split-complementary
#8A9927 #275199 #6F2799
monochromatic
#32370E #5E681B #8A9927 #B6CA33 #C8D763

Accessibility & contrast

On white

3.15
#8A9927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8A9927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9927
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9927#FFFFFF#000000##000000
##8A99271.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9927;
/* rgb */ color: rgb(138, 153, 39);
/* oklch */ color: oklch(65.0% 0.135 116.9);
Tailwind
colors: {
  custom: {
    50: '#afb76a',
    500: '#8a9927',
    950: '#000000',
  },
}
SCSS
$custom: #8a9927;
$custom-light: #afb76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9927",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 67.895,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64985,
    "c": 0.1349,
    "h": 116.9
  },
  "luminance": 0.28332
}

Semantic roles & 50–950 ramp

primary
#8A9927
secondary
#6B5FBD
accent
#45E35A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9927

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

Preview Lab → · Contrast checker → · Palette generator →

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