#8A9E22#8A9E22

#8A9E22 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.1% C 0.144 H 118.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A9E22
RGBrgb(138, 158, 34)
HSLhsl(70, 65%, 38%)
HSVhsv(70, 78%, 62%)
CMYKcmyk(12.7%, 0%, 78.5%, 38%)
CIE-LABlab(61.63, -23.05, 57.37)
CIE-LCHlch(61.63, 61.83, 111.89°)
OKLaboklab(66.14% -0.0691 0.1258)
OKLCHoklch(66.14% 0.144 118.8)
XYZxyz(22.9973, 29.9727, 6.0869)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E22 #36229E
analogous
#9E7422 #8A9E22 #4C9E22
triadic
#8A9E22 #228A9E #9E228A
tetradic
#8A9E22 #229E74 #36229E #9E224C
square
#8A9E22 #229E74 #36229E #9E224C
split-complementary
#8A9E22 #224C9E #74229E
monochromatic
#32390C #5E6C17 #8A9E22 #B6D02D #C8DC5E

Accessibility & contrast

On white

3.00
#8A9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8A9E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9E22
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E22#FFFFFF#000000##000000
##8A9E221.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7952E
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e22;
/* rgb */ color: rgb(138, 158, 34);
/* oklch */ color: oklch(66.1% 0.144 118.8);
Tailwind
colors: {
  custom: {
    50: '#b0ba68',
    500: '#8a9e22',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e22;
$custom-light: #b0ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e22",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 69.677,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66136,
    "c": 0.14353,
    "h": 118.8
  },
  "luminance": 0.29972
}

Semantic roles & 50–950 ramp

primary
#8A9E22
secondary
#6B5BC1
accent
#40E85B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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