#8A9726#8A9726

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

Color values

HEX#8A9726
RGBrgb(138, 151, 38)
HSLhsl(67, 60%, 37%)
HSVhsv(67, 75%, 59%)
CMYKcmyk(8.6%, 0%, 74.8%, 40.8%)
CIE-LABlab(59.60, -19.32, 54.14)
CIE-LCHlch(59.60, 57.48, 109.64°)
OKLaboklab(64.51% -0.0585 0.1197)
OKLCHoklch(64.51% 0.133 116)
XYZxyz(21.8983, 27.6768, 6.0219)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9726 #332697
analogous
#976C26 #8A9726 #519726
triadic
#8A9726 #268A97 #97268A
tetradic
#8A9726 #26976C #332697 #972651
square
#8A9726 #26976C #332697 #972651
split-complementary
#8A9726 #265197 #6C2697
monochromatic
#31350D #5D661A #8A9726 #B7C832 #C9D760

Accessibility & contrast

On white

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

On black

6.54
#8A9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9726
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9726#FFFFFF#000000##000000
##8A97261.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9726;
/* rgb */ color: rgb(138, 151, 38);
/* oklch */ color: oklch(64.5% 0.133 116.0);
Tailwind
colors: {
  custom: {
    50: '#afb569',
    500: '#8a9726',
    950: '#000000',
  },
}
SCSS
$custom: #8a9726;
$custom-light: #afb569;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9726",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 66.903,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64507,
    "c": 0.13319,
    "h": 116
  },
  "luminance": 0.27676
}

Semantic roles & 50–950 ramp

primary
#8A9726
secondary
#675CBC
accent
#45E357
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9726

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

Preview Lab → · Contrast checker → · Palette generator →

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