#8A9C22#8A9C22

#8A9C22 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.141 H 118.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A9C22
RGBrgb(138, 156, 34)
HSLhsl(69, 64%, 37%)
HSVhsv(69, 78%, 61%)
CMYKcmyk(11.5%, 0%, 78.2%, 38.8%)
CIE-LABlab(61.04, -22.05, 56.83)
CIE-LCHlch(61.04, 60.96, 111.20°)
OKLaboklab(65.66% -0.0664 0.1247)
OKLCHoklch(65.66% 0.141 118)
XYZxyz(22.6590, 29.2959, 5.9741)
Luminance0.2930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C22 #34229C
analogous
#9C7122 #8A9C22 #4D9C22
triadic
#8A9C22 #228A9C #9C228A
tetradic
#8A9C22 #229C71 #34229C #9C224D
square
#8A9C22 #229C71 #34229C #9C224D
split-complementary
#8A9C22 #224D9C #71229C
monochromatic
#31380C #5E6A17 #8A9C22 #B6CE2D #C9DC5D

Accessibility & contrast

On white

3.06
#8A9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C22
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C22#FFFFFF#000000##000000
##8A9C221.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#939385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c22;
/* rgb */ color: rgb(138, 156, 34);
/* oklch */ color: oklch(65.7% 0.141 118.0);
Tailwind
colors: {
  custom: {
    50: '#b0b968',
    500: '#8a9c22',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c22;
$custom-light: #b0b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c22",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 68.852,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65663,
    "c": 0.14122,
    "h": 118
  },
  "luminance": 0.29296
}

Semantic roles & 50–950 ramp

primary
#8A9C22
secondary
#695AC0
accent
#41E759
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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