#8A9725#8A9725

#8A9725 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.134 H 116.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A9725
RGBrgb(138, 151, 37)
HSLhsl(67, 61%, 37%)
HSVhsv(67, 75%, 59%)
CMYKcmyk(8.6%, 0%, 75.5%, 40.8%)
CIE-LABlab(59.59, -19.37, 54.48)
CIE-LCHlch(59.59, 57.82, 109.57°)
OKLaboklab(64.5% -0.0587 0.1202)
OKLCHoklch(64.5% 0.134 116)
XYZxyz(21.8823, 27.6704, 5.9381)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9725 #322597
analogous
#976B25 #8A9725 #519725
triadic
#8A9725 #258A97 #97258A
tetradic
#8A9725 #25976B #322597 #972551
square
#8A9725 #25976B #322597 #972551
split-complementary
#8A9725 #255197 #6B2597
monochromatic
#30350D #5D6619 #8A9725 #B7C831 #CAD85F

Accessibility & contrast

On white

3.21
#8A9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9725
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9725#FFFFFF#000000##000000
##8A97251.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0C
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#938E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9725;
/* rgb */ color: rgb(138, 151, 37);
/* oklch */ color: oklch(64.5% 0.134 116.0);
Tailwind
colors: {
  custom: {
    50: '#afb569',
    500: '#8a9725',
    950: '#000000',
  },
}
SCSS
$custom: #8a9725;
$custom-light: #afb569;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9725",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 66.842,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.645,
    "c": 0.13379,
    "h": 116
  },
  "luminance": 0.2767
}

Semantic roles & 50–950 ramp

primary
#8A9725
secondary
#665BBD
accent
#44E456
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9725

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

Preview Lab → · Contrast checker → · Palette generator →

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