#8A9733#8A9733

#8A9733 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.6% C 0.124 H 116.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A9733
RGBrgb(138, 151, 51)
HSLhsl(68, 50%, 40%)
HSVhsv(68, 66%, 59%)
CMYKcmyk(8.6%, 0%, 66.2%, 40.8%)
CIE-LABlab(59.69, -18.56, 49.15)
CIE-LCHlch(59.69, 52.53, 110.69°)
OKLaboklab(64.61% -0.0551 0.1114)
OKLCHoklch(64.61% 0.124 116.3)
XYZxyz(22.1459, 27.7758, 7.3260)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9733 #403397
analogous
#977233 #8A9733 #589733
triadic
#8A9733 #338A97 #97338A
tetradic
#8A9733 #339772 #403397 #973358
square
#8A9733 #339772 #403397 #973358
split-complementary
#8A9733 #335897 #723397
monochromatic
#363C14 #606924 #8A9733 #B1C147 #C4D074

Accessibility & contrast

On white

3.20
#8A9733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8A9733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9733
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9733#FFFFFF#000000##000000
##8A97331.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F26
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#928F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9733;
/* rgb */ color: rgb(138, 151, 51);
/* oklch */ color: oklch(64.6% 0.124 116.3);
Tailwind
colors: {
  custom: {
    50: '#afb570',
    500: '#8a9733',
    950: '#000000',
  },
}
SCSS
$custom: #8a9733;
$custom-light: #afb570;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9733",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 67.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64608,
    "c": 0.12423,
    "h": 116.3
  },
  "luminance": 0.27776
}

Semantic roles & 50–950 ramp

primary
#8A9733
secondary
#776DB8
accent
#4FD961
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9733

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

Preview Lab → · Contrast checker → · Palette generator →

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