#8A9A27#8A9A27

#8A9A27 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.2% C 0.136 H 117.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A9A27
RGBrgb(138, 154, 39)
HSLhsl(68, 60%, 38%)
HSVhsv(68, 75%, 60%)
CMYKcmyk(10.4%, 0%, 74.7%, 39.6%)
CIE-LABlab(60.48, -20.80, 54.63)
CIE-LCHlch(60.48, 58.45, 110.84°)
OKLaboklab(65.22% -0.0625 0.1209)
OKLCHoklch(65.22% 0.136 117.3)
XYZxyz(22.4036, 28.6612, 6.2710)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A27 #37279A
analogous
#9A7027 #8A9A27 #509A27
triadic
#8A9A27 #278A9A #9A278A
tetradic
#8A9A27 #279A70 #37279A #9A2750
square
#8A9A27 #279A70 #37279A #9A2750
split-complementary
#8A9A27 #27509A #70279A
monochromatic
#32380E #5E691B #8A9A27 #B6CB33 #C8D864

Accessibility & contrast

On white

3.12
#8A9A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8A9A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A27
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A27#FFFFFF#000000##000000
##8A9A271.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910F
Deuteranopia (green-blind)
#A39231
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a27;
/* rgb */ color: rgb(138, 154, 39);
/* oklch */ color: oklch(65.2% 0.136 117.3);
Tailwind
colors: {
  custom: {
    50: '#afb76a',
    500: '#8a9a27',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a27;
$custom-light: #afb76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a27",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 68.348,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65221,
    "c": 0.13608,
    "h": 117.3
  },
  "luminance": 0.28661
}

Semantic roles & 50–950 ramp

primary
#8A9A27
secondary
#6D5FBD
accent
#45E35B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A27

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

Preview Lab → · Contrast checker → · Palette generator →

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