#8A9727#8A9727

#8A9727 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.133 H 116.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8A9727
RGBrgb(138, 151, 39)
HSLhsl(67, 59%, 37%)
HSVhsv(67, 74%, 59%)
CMYKcmyk(8.6%, 0%, 74.2%, 40.8%)
CIE-LABlab(59.60, -19.27, 53.79)
CIE-LCHlch(59.60, 57.13, 109.71°)
OKLaboklab(64.51% -0.0582 0.1191)
OKLCHoklch(64.51% 0.133 116.1)
XYZxyz(21.9146, 27.6833, 6.1080)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9727 #342797
analogous
#976C27 #8A9727 #529727
triadic
#8A9727 #278A97 #97278A
tetradic
#8A9727 #27976C #342797 #972752
square
#8A9727 #27976C #342797 #972752
split-complementary
#8A9727 #275297 #6C2797
monochromatic
#31360E #5E661A #8A9727 #B6C834 #C9D662

Accessibility & contrast

On white

3.21
#8A9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#8A9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9727
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9727#FFFFFF#000000##000000
##8A97271.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A19030
Tritanopia (blue-blind)
#938E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9727;
/* rgb */ color: rgb(138, 151, 39);
/* oklch */ color: oklch(64.5% 0.133 116.1);
Tailwind
colors: {
  custom: {
    50: '#afb56a',
    500: '#8a9727',
    950: '#000000',
  },
}
SCSS
$custom: #8a9727;
$custom-light: #afb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9727",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 66.964,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64514,
    "c": 0.13259,
    "h": 116.1
  },
  "luminance": 0.27683
}

Semantic roles & 50–950 ramp

primary
#8A9727
secondary
#695EBC
accent
#46E258
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9727

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

Preview Lab → · Contrast checker → · Palette generator →

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