#8A9529#8A9529

#8A9529 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.129 H 115.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A9529
RGBrgb(138, 149, 41)
HSLhsl(66, 57%, 37%)
HSVhsv(66, 72%, 58%)
CMYKcmyk(7.4%, 0%, 72.5%, 41.6%)
CIE-LABlab(59.03, -18.14, 52.50)
CIE-LCHlch(59.03, 55.54, 109.06°)
OKLaboklab(64.06% -0.0549 0.1167)
OKLCHoklch(64.06% 0.129 115.2)
XYZxyz(21.6295, 27.0586, 6.1808)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9529 #342995
analogous
#956A29 #8A9529 #549529
triadic
#8A9529 #298A95 #95298A
tetradic
#8A9529 #29956A #342995 #952954
square
#8A9529 #29956A #342995 #952954
split-complementary
#8A9529 #295495 #6A2995
monochromatic
#31350F #5E651C #8A9529 #B6C536 #C9D464

Accessibility & contrast

On white

3.28
#8A9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8A9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9529
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9529#FFFFFF#000000##000000
##8A95291.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D16
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9529;
/* rgb */ color: rgb(138, 149, 41);
/* oklch */ color: oklch(64.1% 0.129 115.2);
Tailwind
colors: {
  custom: {
    50: '#afb46a',
    500: '#8a9529',
    950: '#000000',
  },
}
SCSS
$custom: #8a9529;
$custom-light: #afb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9529",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 66.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64058,
    "c": 0.12901,
    "h": 115.2
  },
  "luminance": 0.27058
}

Semantic roles & 50–950 ramp

primary
#8A9529
secondary
#6960BA
accent
#48E057
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9529

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

Preview Lab → · Contrast checker → · Palette generator →

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