#8A9122#8A9122

#8A9122 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.129 H 113.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A9122
RGBrgb(138, 145, 34)
HSLhsl(64, 62%, 35%)
HSVhsv(64, 77%, 57%)
CMYKcmyk(4.8%, 0%, 76.6%, 43.1%)
CIE-LABlab(57.82, -16.41, 53.85)
CIE-LCHlch(57.82, 56.30, 106.95°)
OKLaboklab(63.07% -0.0508 0.1183)
OKLCHoklch(63.07% 0.129 113.2)
XYZxyz(20.8960, 25.7700, 5.3864)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9122 #292291
analogous
#916122 #8A9122 #529122
triadic
#8A9122 #228A91 #91228A
tetradic
#8A9122 #229161 #292291 #912252
square
#8A9122 #229161 #292291 #912252
split-complementary
#8A9122 #225291 #612291
monochromatic
#2C2E0B #5B5F16 #8A9122 #B9C32E #CFD756

Accessibility & contrast

On white

3.41
#8A9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8A9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9122
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9122#FFFFFF#000000##000000
##8A91221.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A07
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9122;
/* rgb */ color: rgb(138, 145, 34);
/* oklch */ color: oklch(63.1% 0.129 113.2);
Tailwind
colors: {
  custom: {
    50: '#afb167',
    500: '#8a9122',
    950: '#000000',
  },
}
SCSS
$custom: #8a9122;
$custom-light: #afb167;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9122",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 63.784,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63074,
    "c": 0.12877,
    "h": 113.2
  },
  "luminance": 0.2577
}

Semantic roles & 50–950 ramp

primary
#8A9122
secondary
#5A53BB
accent
#43E54D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9122

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

Preview Lab → · Contrast checker → · Palette generator →

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