#8A9933#8A9933

#8A9933 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.127 H 117.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A9933
RGBrgb(138, 153, 51)
HSLhsl(69, 50%, 40%)
HSVhsv(69, 67%, 60%)
CMYKcmyk(9.8%, 0%, 66.7%, 40%)
CIE-LABlab(60.27, -19.59, 49.76)
CIE-LCHlch(60.27, 53.47, 111.49°)
OKLaboklab(65.08% -0.0579 0.1126)
OKLCHoklch(65.08% 0.127 117.2)
XYZxyz(22.4705, 28.4250, 7.4342)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9933 #423399
analogous
#997533 #8A9933 #579933
triadic
#8A9933 #338A99 #99338A
tetradic
#8A9933 #339975 #423399 #993357
square
#8A9933 #339975 #423399 #993357
split-complementary
#8A9933 #335799 #753399
monochromatic
#373D14 #616B24 #8A9933 #B0C247 #C4D175

Accessibility & contrast

On white

3.14
#8A9933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8A9933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9933
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9933#FFFFFF#000000##000000
##8A99331.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39125
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#929184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9933;
/* rgb */ color: rgb(138, 153, 51);
/* oklch */ color: oklch(65.1% 0.127 117.2);
Tailwind
colors: {
  custom: {
    50: '#afb770',
    500: '#8a9933',
    950: '#000000',
  },
}
SCSS
$custom: #8a9933;
$custom-light: #afb770;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9933",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 68.824,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.12666,
    "h": 117.2
  },
  "luminance": 0.28425
}

Semantic roles & 50–950 ramp

primary
#8A9933
secondary
#796EB9
accent
#4EDA63
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9933

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

Preview Lab → · Contrast checker → · Palette generator →

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