#8A9826#8A9826

#8A9826 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.134 H 116.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A9826
RGBrgb(138, 152, 38)
HSLhsl(67, 60%, 37%)
HSVhsv(67, 75%, 60%)
CMYKcmyk(9.2%, 0%, 75%, 40.4%)
CIE-LABlab(59.89, -19.83, 54.42)
CIE-LCHlch(59.89, 57.92, 110.03°)
OKLaboklab(64.74% -0.0599 0.1203)
OKLCHoklch(64.74% 0.134 116.5)
XYZxyz(22.0599, 28.0000, 6.0758)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9826 #342698
analogous
#986D26 #8A9826 #519826
triadic
#8A9826 #268A98 #98268A
tetradic
#8A9826 #26986D #342698 #982651
square
#8A9826 #26986D #342698 #982651
split-complementary
#8A9826 #265198 #6D2698
monochromatic
#31360E #5E671A #8A9826 #B6C932 #C9D761

Accessibility & contrast

On white

3.18
#8A9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9826
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9826#FFFFFF#000000##000000
##8A98261.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900E
Deuteranopia (green-blind)
#A29130
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9826;
/* rgb */ color: rgb(138, 152, 38);
/* oklch */ color: oklch(64.7% 0.134 116.5);
Tailwind
colors: {
  custom: {
    50: '#afb669',
    500: '#8a9826',
    950: '#000000',
  },
}
SCSS
$custom: #8a9826;
$custom-light: #afb669;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9826",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 67.368,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64742,
    "c": 0.13435,
    "h": 116.5
  },
  "luminance": 0.28
}

Semantic roles & 50–950 ramp

primary
#8A9826
secondary
#695DBD
accent
#45E358
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9826

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

Preview Lab → · Contrast checker → · Palette generator →

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