#8A9226#8A9226

#8A9226 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.3% C 0.128 H 113.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A9226
RGBrgb(138, 146, 38)
HSLhsl(64, 59%, 36%)
HSVhsv(64, 74%, 57%)
CMYKcmyk(5.5%, 0%, 74%, 42.7%)
CIE-LABlab(58.13, -16.74, 52.74)
CIE-LCHlch(58.13, 55.33, 107.61°)
OKLaboklab(63.33% -0.0513 0.1167)
OKLCHoklch(63.33% 0.128 113.7)
XYZxyz(21.1106, 26.1014, 5.7594)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9226 #2E2692
analogous
#926426 #8A9226 #549226
triadic
#8A9226 #268A92 #92268A
tetradic
#8A9226 #269264 #2E2692 #922654
square
#8A9226 #269264 #2E2692 #922654
split-complementary
#8A9226 #265492 #642692
monochromatic
#2E310D #5C6119 #8A9226 #B8C333 #CCD55D

Accessibility & contrast

On white

3.38
#8A9226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8A9226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9226
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9226#FFFFFF#000000##000000
##8A92261.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B11
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#93897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9226;
/* rgb */ color: rgb(138, 146, 38);
/* oklch */ color: oklch(63.3% 0.128 113.7);
Tailwind
colors: {
  custom: {
    50: '#afb169',
    500: '#8a9226',
    950: '#000000',
  },
}
SCSS
$custom: #8a9226;
$custom-light: #afb169;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9226",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 64.444,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63334,
    "c": 0.1275,
    "h": 113.7
  },
  "luminance": 0.26101
}

Semantic roles & 50–950 ramp

primary
#8A9226
secondary
#615ABA
accent
#46E251
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9226

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

Preview Lab → · Contrast checker → · Palette generator →

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