#8A9326#8A9326

#8A9326 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.129 H 114.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A9326
RGBrgb(138, 147, 38)
HSLhsl(65, 59%, 36%)
HSVhsv(65, 74%, 58%)
CMYKcmyk(6.1%, 0%, 74.1%, 42.4%)
CIE-LABlab(58.43, -17.26, 53.02)
CIE-LCHlch(58.43, 55.76, 108.03°)
OKLaboklab(63.57% -0.0527 0.1173)
OKLCHoklch(63.57% 0.129 114.2)
XYZxyz(21.2654, 26.4111, 5.8110)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9326 #2F2693
analogous
#936626 #8A9326 #549326
triadic
#8A9326 #268A93 #93268A
tetradic
#8A9326 #269366 #2F2693 #932654
square
#8A9326 #269366 #2F2693 #932654
split-complementary
#8A9326 #265493 #662693
monochromatic
#2F320D #5C6219 #8A9326 #B8C433 #CCD55E

Accessibility & contrast

On white

3.34
#8A9326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8A9326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9326
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9326#FFFFFF#000000##000000
##8A93261.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C10
Deuteranopia (green-blind)
#9E8D2F
Tritanopia (blue-blind)
#938A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9326;
/* rgb */ color: rgb(138, 147, 38);
/* oklch */ color: oklch(63.6% 0.129 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb269',
    500: '#8a9326',
    950: '#000000',
  },
}
SCSS
$custom: #8a9326;
$custom-light: #afb269;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9326",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 38
  },
  "hsl": {
    "h": 64.954,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.12862,
    "h": 114.2
  },
  "luminance": 0.26411
}

Semantic roles & 50–950 ramp

primary
#8A9326
secondary
#625ABA
accent
#46E253
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9326

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

Preview Lab → · Contrast checker → · Palette generator →

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