#8A9B22#8A9B22

#8A9B22 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.4% C 0.140 H 117.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9B22
RGBrgb(138, 155, 34)
HSLhsl(68, 64%, 37%)
HSVhsv(68, 78%, 61%)
CMYKcmyk(11%, 0%, 78.1%, 39.2%)
CIE-LABlab(60.75, -21.54, 56.56)
CIE-LCHlch(60.75, 60.53, 110.85°)
OKLaboklab(65.43% -0.065 0.1241)
OKLCHoklch(65.43% 0.14 117.6)
XYZxyz(22.4919, 28.9617, 5.9184)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B22 #33229B
analogous
#9B7022 #8A9B22 #4D9B22
triadic
#8A9B22 #228A9B #9B228A
tetradic
#8A9B22 #229B70 #33229B #9B224D
square
#8A9B22 #229B70 #33229B #9B224D
split-complementary
#8A9B22 #224D9B #70229B
monochromatic
#31370C #5D6917 #8A9B22 #B7CD2D #C9DB5C

Accessibility & contrast

On white

3.09
#8A9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B22
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B22#FFFFFF#000000##000000
##8A9B221.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b22;
/* rgb */ color: rgb(138, 155, 34);
/* oklch */ color: oklch(65.4% 0.140 117.6);
Tailwind
colors: {
  custom: {
    50: '#b0b868',
    500: '#8a9b22',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b22;
$custom-light: #b0b868;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b22",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 68.43,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.14006,
    "h": 117.6
  },
  "luminance": 0.28961
}

Semantic roles & 50–950 ramp

primary
#8A9B22
secondary
#6759C0
accent
#41E758
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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