#8A9525#8A9525

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

Color values

HEX#8A9525
RGBrgb(138, 149, 37)
HSLhsl(66, 60%, 36%)
HSVhsv(66, 75%, 58%)
CMYKcmyk(7.4%, 0%, 75.2%, 41.6%)
CIE-LABlab(59.00, -18.34, 53.93)
CIE-LCHlch(59.00, 56.96, 108.79°)
OKLaboklab(64.03% -0.0559 0.1191)
OKLCHoklch(64.03% 0.132 115.1)
XYZxyz(21.5632, 27.0321, 5.8317)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9525 #302595
analogous
#956825 #8A9525 #529525
triadic
#8A9525 #258A95 #95258A
tetradic
#8A9525 #259568 #302595 #952552
square
#8A9525 #259568 #302595 #952552
split-complementary
#8A9525 #255295 #682595
monochromatic
#2F330D #5D6419 #8A9525 #B7C631 #CBD75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9525#FFFFFF#000000##000000
##8A95251.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)
#A08D0D
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9525;
/* rgb */ color: rgb(138, 149, 37);
/* oklch */ color: oklch(64.0% 0.132 115.1);
Tailwind
colors: {
  custom: {
    50: '#afb468',
    500: '#8a9525',
    950: '#000000',
  },
}
SCSS
$custom: #8a9525;
$custom-light: #afb468;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9525",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 65.893,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.1315,
    "h": 115.1
  },
  "luminance": 0.27032
}

Semantic roles & 50–950 ramp

primary
#8A9525
secondary
#645ABC
accent
#44E354
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9525

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

Preview Lab → · Contrast checker → · Palette generator →

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