#8A9C27#8A9C27

#8A9C27 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.138 H 118.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A9C27
RGBrgb(138, 156, 39)
HSLhsl(69, 60%, 38%)
HSVhsv(69, 75%, 61%)
CMYKcmyk(11.5%, 0%, 75%, 38.8%)
CIE-LABlab(61.07, -21.81, 55.19)
CIE-LCHlch(61.07, 59.34, 111.56°)
OKLaboklab(65.69% -0.0653 0.1221)
OKLCHoklch(65.69% 0.138 118.1)
XYZxyz(22.7364, 29.3269, 6.3820)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C27 #39279C
analogous
#9C7327 #8A9C27 #4F9C27
triadic
#8A9C27 #278A9C #9C278A
tetradic
#8A9C27 #279C73 #39279C #9C274F
square
#8A9C27 #279C73 #39279C #9C274F
split-complementary
#8A9C27 #274F9C #73279C
monochromatic
#333A0F #5F6B1B #8A9C27 #B5CC34 #C7D865

Accessibility & contrast

On white

3.06
#8A9C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A9C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C27
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C27#FFFFFF#000000##000000
##8A9C271.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930E
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#939386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c27;
/* rgb */ color: rgb(138, 156, 39);
/* oklch */ color: oklch(65.7% 0.138 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb96a',
    500: '#8a9c27',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c27;
$custom-light: #afb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c27",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 69.231,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65693,
    "c": 0.13842,
    "h": 118.1
  },
  "luminance": 0.29327
}

Semantic roles & 50–950 ramp

primary
#8A9C27
secondary
#6F61BE
accent
#45E35D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C27

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

Preview Lab → · Contrast checker → · Palette generator →

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