#8A9224#8A9224

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

Color values

HEX#8A9224
RGBrgb(138, 146, 36)
HSLhsl(64, 60%, 36%)
HSVhsv(64, 75%, 57%)
CMYKcmyk(5.5%, 0%, 75.3%, 42.7%)
CIE-LABlab(58.12, -16.84, 53.44)
CIE-LCHlch(58.12, 56.03, 107.49°)
OKLaboklab(63.32% -0.0518 0.1179)
OKLCHoklch(63.32% 0.129 113.7)
XYZxyz(21.0792, 26.0889, 5.5940)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9224 #2C2492
analogous
#926324 #8A9224 #539224
triadic
#8A9224 #248A92 #92248A
tetradic
#8A9224 #249263 #2C2492 #922453
square
#8A9224 #249263 #2C2492 #922453
split-complementary
#8A9224 #245392 #632492
monochromatic
#2D300C #5C6118 #8A9224 #B8C330 #CDD65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9224#FFFFFF#000000##000000
##8A92241.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)
#9D8B0C
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#93897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9224;
/* rgb */ color: rgb(138, 146, 36);
/* oklch */ color: oklch(63.3% 0.129 113.7);
Tailwind
colors: {
  custom: {
    50: '#afb168',
    500: '#8a9224',
    950: '#000000',
  },
}
SCSS
$custom: #8a9224;
$custom-light: #afb168;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9224",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 64.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6332,
    "c": 0.12872,
    "h": 113.7
  },
  "luminance": 0.26088
}

Semantic roles & 50–950 ramp

primary
#8A9224
secondary
#5E57BB
accent
#44E450
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9224

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

Preview Lab → · Contrast checker → · Palette generator →

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