#8A9627#8A9627

#8A9627 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.3% C 0.131 H 115.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A9627
RGBrgb(138, 150, 39)
HSLhsl(66, 59%, 37%)
HSVhsv(66, 74%, 59%)
CMYKcmyk(8%, 0%, 74%, 41.2%)
CIE-LABlab(59.31, -18.76, 53.50)
CIE-LCHlch(59.31, 56.70, 109.32°)
OKLaboklab(64.28% -0.0568 0.1185)
OKLCHoklch(64.28% 0.131 115.6)
XYZxyz(21.7544, 27.3628, 6.0546)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9627 #332796
analogous
#966A27 #8A9627 #539627
triadic
#8A9627 #278A96 #96278A
tetradic
#8A9627 #27966A #332796 #962753
square
#8A9627 #27966A #332796 #962753
split-complementary
#8A9627 #275396 #6A2796
monochromatic
#31350E #5D651A #8A9627 #B7C734 #C9D661

Accessibility & contrast

On white

3.24
#8A9627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8A9627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9627
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9627#FFFFFF#000000##000000
##8A96271.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E11
Deuteranopia (green-blind)
#A09030
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9627;
/* rgb */ color: rgb(138, 150, 39);
/* oklch */ color: oklch(64.3% 0.131 115.6);
Tailwind
colors: {
  custom: {
    50: '#afb46a',
    500: '#8a9627',
    950: '#000000',
  },
}
SCSS
$custom: #8a9627;
$custom-light: #afb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9627",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 66.486,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64278,
    "c": 0.13144,
    "h": 115.6
  },
  "luminance": 0.27362
}

Semantic roles & 50–950 ramp

primary
#8A9627
secondary
#675DBC
accent
#46E257
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9627

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

Preview Lab → · Contrast checker → · Palette generator →

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