#8A9A33#8A9A33

#8A9A33 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.3% C 0.128 H 117.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A9A33
RGBrgb(138, 154, 51)
HSLhsl(69, 50%, 40%)
HSVhsv(69, 67%, 60%)
CMYKcmyk(10.4%, 0%, 66.9%, 39.6%)
CIE-LABlab(60.56, -20.10, 50.06)
CIE-LCHlch(60.56, 53.95, 111.87°)
OKLaboklab(65.31% -0.0594 0.1133)
OKLCHoklch(65.31% 0.128 117.7)
XYZxyz(22.6348, 28.7537, 7.4889)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A33 #43339A
analogous
#9A7633 #8A9A33 #579A33
triadic
#8A9A33 #338A9A #9A338A
tetradic
#8A9A33 #339A76 #43339A #9A3357
square
#8A9A33 #339A76 #43339A #9A3357
split-complementary
#8A9A33 #33579A #76339A
monochromatic
#383E15 #616C24 #8A9A33 #AFC248 #C3D276

Accessibility & contrast

On white

3.11
#8A9A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#8A9A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A33
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A33#FFFFFF#000000##000000
##8A9A331.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49225
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a33;
/* rgb */ color: rgb(138, 154, 51);
/* oklch */ color: oklch(65.3% 0.128 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb770',
    500: '#8a9a33',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a33;
$custom-light: #afb770;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a33",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 51
  },
  "hsl": {
    "h": 69.32,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65313,
    "c": 0.1279,
    "h": 117.7
  },
  "luminance": 0.28753
}

Semantic roles & 50–950 ramp

primary
#8A9A33
secondary
#7B6FBA
accent
#4EDA64
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9A33

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

Preview Lab → · Contrast checker → · Palette generator →

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