#8A9121#8A9121

#8A9121 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#8A9121
RGBrgb(138, 145, 33)
HSLhsl(64, 63%, 35%)
HSVhsv(64, 77%, 57%)
CMYKcmyk(4.8%, 0%, 77.2%, 43.1%)
CIE-LABlab(57.81, -16.45, 54.19)
CIE-LCHlch(57.81, 56.63, 106.89°)
OKLaboklab(63.07% -0.051 0.1189)
OKLCHoklch(63.07% 0.129 113.2)
XYZxyz(20.8818, 25.7643, 5.3116)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9121 #282191
analogous
#916021 #8A9121 #529121
triadic
#8A9121 #218A91 #91218A
tetradic
#8A9121 #219160 #282191 #912152
square
#8A9121 #219160 #282191 #912152
split-complementary
#8A9121 #215291 #602191
monochromatic
#2B2D0A #5B5F16 #8A9121 #B9C32C #D0D854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9121#FFFFFF#000000##000000
##8A91211.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)
#9C8A05
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9121;
/* rgb */ color: rgb(138, 145, 33);
/* oklch */ color: oklch(63.1% 0.129 113.2);
Tailwind
colors: {
  custom: {
    50: '#afb166',
    500: '#8a9121',
    950: '#000000',
  },
}
SCSS
$custom: #8a9121;
$custom-light: #afb166;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9121",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 63.75,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.12933,
    "h": 113.2
  },
  "luminance": 0.25764
}

Semantic roles & 50–950 ramp

primary
#8A9121
secondary
#5952BC
accent
#42E64C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9121

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

Preview Lab → · Contrast checker → · Palette generator →

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