#8A9427#8A9427

#8A9427 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.129 H 114.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8A9427
RGBrgb(138, 148, 39)
HSLhsl(66, 58%, 37%)
HSVhsv(66, 74%, 58%)
CMYKcmyk(6.8%, 0%, 73.6%, 42%)
CIE-LABlab(58.72, -17.73, 52.94)
CIE-LCHlch(58.72, 55.83, 108.51°)
OKLaboklab(63.81% -0.054 0.1173)
OKLCHoklch(63.81% 0.129 114.7)
XYZxyz(21.4379, 26.7300, 5.9491)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9427 #312794
analogous
#946827 #8A9427 #539427
triadic
#8A9427 #278A94 #94278A
tetradic
#8A9427 #279468 #312794 #942753
square
#8A9427 #279468 #312794 #942753
split-complementary
#8A9427 #275394 #682794
monochromatic
#30330D #5D641A #8A9427 #B7C434 #CAD560

Accessibility & contrast

On white

3.31
#8A9427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8A9427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9427
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9427#FFFFFF#000000##000000
##8A94271.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C12
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9427;
/* rgb */ color: rgb(138, 148, 39);
/* oklch */ color: oklch(63.8% 0.129 114.7);
Tailwind
colors: {
  custom: {
    50: '#afb369',
    500: '#8a9427',
    950: '#000000',
  },
}
SCSS
$custom: #8a9427;
$custom-light: #afb369;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9427",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 39
  },
  "hsl": {
    "h": 65.505,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.12914,
    "h": 114.7
  },
  "luminance": 0.2673
}

Semantic roles & 50–950 ramp

primary
#8A9427
secondary
#655CBB
accent
#46E255
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9427

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

Preview Lab → · Contrast checker → · Palette generator →

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