#8A9D27#8A9D27

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

Color values

HEX#8A9D27
RGBrgb(138, 157, 39)
HSLhsl(70, 60%, 38%)
HSVhsv(70, 75%, 62%)
CMYKcmyk(12.1%, 0%, 75.2%, 38.4%)
CIE-LABlab(61.36, -22.31, 55.47)
CIE-LCHlch(61.36, 59.79, 111.91°)
OKLaboklab(65.93% -0.0667 0.1227)
OKLCHoklch(65.93% 0.14 118.5)
XYZxyz(22.9049, 29.6639, 6.4381)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D27 #3A279D
analogous
#9D7527 #8A9D27 #4F9D27
triadic
#8A9D27 #278A9D #9D278A
tetradic
#8A9D27 #279D75 #3A279D #9D274F
square
#8A9D27 #279D75 #3A279D #9D274F
split-complementary
#8A9D27 #274F9D #75279D
monochromatic
#343B0F #5F6C1B #8A9D27 #B4CD35 #C6D966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9D27#FFFFFF#000000##000000
##8A9D271.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)
#A8940D
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#929487
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d27;
/* rgb */ color: rgb(138, 157, 39);
/* oklch */ color: oklch(65.9% 0.140 118.5);
Tailwind
colors: {
  custom: {
    50: '#afb96a',
    500: '#8a9d27',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d27;
$custom-light: #afb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d27",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 69.661,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6593,
    "c": 0.1396,
    "h": 118.5
  },
  "luminance": 0.29664
}

Semantic roles & 50–950 ramp

primary
#8A9D27
secondary
#7061BF
accent
#44E35E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D27

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

Preview Lab → · Contrast checker → · Palette generator →

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