#8A9934#8A9934

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

Color values

HEX#8A9934
RGBrgb(138, 153, 52)
HSLhsl(69, 49%, 40%)
HSVhsv(69, 66%, 60%)
CMYKcmyk(9.8%, 0%, 66%, 40%)
CIE-LABlab(60.28, -19.52, 49.34)
CIE-LCHlch(60.28, 53.06, 111.58°)
OKLaboklab(65.09% -0.0576 0.1119)
OKLCHoklch(65.09% 0.126 117.3)
XYZxyz(22.4928, 28.4339, 7.5515)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9934 #433499
analogous
#997534 #8A9934 #579934
triadic
#8A9934 #348A99 #99348A
tetradic
#8A9934 #349975 #433499 #993457
square
#8A9934 #349975 #433499 #993457
split-complementary
#8A9934 #345799 #753499
monochromatic
#383E15 #616B24 #8A9934 #AFC149 #C3D177

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9934#FFFFFF#000000##000000
##8A99341.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)
#A39126
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#929184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9934;
/* rgb */ color: rgb(138, 153, 52);
/* oklch */ color: oklch(65.1% 0.126 117.3);
Tailwind
colors: {
  custom: {
    50: '#afb771',
    500: '#8a9934',
    950: '#000000',
  },
}
SCSS
$custom: #8a9934;
$custom-light: #afb771;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9934",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 68.911,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65087,
    "c": 0.12589,
    "h": 117.3
  },
  "luminance": 0.28434
}

Semantic roles & 50–950 ramp

primary
#8A9934
secondary
#7B70B9
accent
#4FD963
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9934

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

Preview Lab → · Contrast checker → · Palette generator →

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