#8A9526#8A9526

#8A9526 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.131 H 115.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A9526
RGBrgb(138, 149, 38)
HSLhsl(66, 59%, 37%)
HSVhsv(66, 74%, 58%)
CMYKcmyk(7.4%, 0%, 74.5%, 41.6%)
CIE-LABlab(59.01, -18.29, 53.58)
CIE-LCHlch(59.01, 56.62, 108.85°)
OKLaboklab(64.04% -0.0556 0.1185)
OKLCHoklch(64.04% 0.131 115.1)
XYZxyz(21.5791, 27.0385, 5.9155)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9526 #312695
analogous
#956926 #8A9526 #539526
triadic
#8A9526 #268A95 #95268A
tetradic
#8A9526 #269569 #312695 #952653
square
#8A9526 #269569 #312695 #952653
split-complementary
#8A9526 #265395 #692695
monochromatic
#30330D #5D641A #8A9526 #B7C632 #CAD65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9526#FFFFFF#000000##000000
##8A95261.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)
#A08D0F
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9526;
/* rgb */ color: rgb(138, 149, 38);
/* oklch */ color: oklch(64.0% 0.131 115.1);
Tailwind
colors: {
  custom: {
    50: '#afb469',
    500: '#8a9526',
    950: '#000000',
  },
}
SCSS
$custom: #8a9526;
$custom-light: #afb469;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9526",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 65.946,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64037,
    "c": 0.1309,
    "h": 115.1
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

primary
#8A9526
secondary
#655BBB
accent
#45E355
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9526

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

Preview Lab → · Contrast checker → · Palette generator →

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