#8A9426#8A9426

#8A9426 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.130 H 114.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A9426
RGBrgb(138, 148, 38)
HSLhsl(65, 59%, 36%)
HSVhsv(65, 74%, 58%)
CMYKcmyk(6.8%, 0%, 74.3%, 42%)
CIE-LABlab(58.72, -17.78, 53.30)
CIE-LCHlch(58.72, 56.19, 108.45°)
OKLaboklab(63.8% -0.0542 0.1179)
OKLCHoklch(63.8% 0.13 114.7)
XYZxyz(21.4216, 26.7234, 5.8630)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9426 #302694
analogous
#946726 #8A9426 #539426
triadic
#8A9426 #268A94 #94268A
tetradic
#8A9426 #269467 #302694 #942653
square
#8A9426 #269467 #302694 #942653
split-complementary
#8A9426 #265394 #672694
monochromatic
#2F330D #5D6319 #8A9426 #B7C533 #CBD65F

Accessibility & contrast

On white

3.31
#8A9426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A9426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9426
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9426#FFFFFF#000000##000000
##8A94261.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C10
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9426;
/* rgb */ color: rgb(138, 148, 38);
/* oklch */ color: oklch(63.8% 0.130 114.7);
Tailwind
colors: {
  custom: {
    50: '#afb369',
    500: '#8a9426',
    950: '#000000',
  },
}
SCSS
$custom: #8a9426;
$custom-light: #afb369;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9426",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 38
  },
  "hsl": {
    "h": 65.455,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.12977,
    "h": 114.7
  },
  "luminance": 0.26723
}

Semantic roles & 50–950 ramp

primary
#8A9426
secondary
#645BBB
accent
#45E254
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9426

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

Preview Lab → · Contrast checker → · Palette generator →

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