#8A9628#8A9628

#8A9628 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#8A9628
RGBrgb(138, 150, 40)
HSLhsl(67, 58%, 37%)
HSVhsv(67, 73%, 59%)
CMYKcmyk(8%, 0%, 73.3%, 41.2%)
CIE-LABlab(59.31, -18.71, 53.15)
CIE-LCHlch(59.31, 56.34, 109.39°)
OKLaboklab(64.29% -0.0566 0.1179)
OKLCHoklch(64.29% 0.131 115.6)
XYZxyz(21.7712, 27.3695, 6.1430)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9628 #342896
analogous
#966B28 #8A9628 #539628
triadic
#8A9628 #288A96 #96288A
tetradic
#8A9628 #28966B #342896 #962853
square
#8A9628 #28966B #342896 #962853
split-complementary
#8A9628 #285396 #6B2896
monochromatic
#31350E #5E661B #8A9628 #B6C635 #C9D563

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9628#FFFFFF#000000##000000
##8A96281.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)
#A18E13
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9628;
/* rgb */ color: rgb(138, 150, 40);
/* oklch */ color: oklch(64.3% 0.131 115.6);
Tailwind
colors: {
  custom: {
    50: '#afb46a',
    500: '#8a9628',
    950: '#000000',
  },
}
SCSS
$custom: #8a9628;
$custom-light: #afb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9628",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 66.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.13081,
    "h": 115.6
  },
  "luminance": 0.27369
}

Semantic roles & 50–950 ramp

primary
#8A9628
secondary
#695FBB
accent
#47E158
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9628

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

Preview Lab → · Contrast checker → · Palette generator →

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