#8A9D22#8A9D22

#8A9D22 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.142 H 118.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9D22
RGBrgb(138, 157, 34)
HSLhsl(69, 64%, 37%)
HSVhsv(69, 78%, 62%)
CMYKcmyk(12.1%, 0%, 78.3%, 38.4%)
CIE-LABlab(61.34, -22.55, 57.10)
CIE-LCHlch(61.34, 61.39, 111.55°)
OKLaboklab(65.9% -0.0677 0.1252)
OKLCHoklch(65.9% 0.142 118.4)
XYZxyz(22.8275, 29.6329, 6.0302)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D22 #35229D
analogous
#9D7222 #8A9D22 #4D9D22
triadic
#8A9D22 #228A9D #9D228A
tetradic
#8A9D22 #229D72 #35229D #9D224D
square
#8A9D22 #229D72 #35229D #9D224D
split-complementary
#8A9D22 #224D9D #72229D
monochromatic
#32380C #5E6B17 #8A9D22 #B6CF2D #C8DC5D

Accessibility & contrast

On white

3.03
#8A9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D22
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D22#FFFFFF#000000##000000
##8A9D221.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d22;
/* rgb */ color: rgb(138, 157, 34);
/* oklch */ color: oklch(65.9% 0.142 118.4);
Tailwind
colors: {
  custom: {
    50: '#b0b968',
    500: '#8a9d22',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d22;
$custom-light: #b0b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d22",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 69.268,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65899,
    "c": 0.14237,
    "h": 118.4
  },
  "luminance": 0.29633
}

Semantic roles & 50–950 ramp

primary
#8A9D22
secondary
#6A5AC1
accent
#40E75A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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