#8A9930#8A9930

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

Color values

HEX#8A9930
RGBrgb(138, 153, 48)
HSLhsl(69, 52%, 39%)
HSVhsv(69, 69%, 60%)
CMYKcmyk(9.8%, 0%, 68.6%, 40%)
CIE-LABlab(60.25, -19.78, 50.97)
CIE-LCHlch(60.25, 54.68, 111.21°)
OKLaboklab(65.05% -0.0588 0.1147)
OKLCHoklch(65.05% 0.129 117.1)
XYZxyz(22.4065, 28.3994, 7.0970)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9930 #3F3099
analogous
#997330 #8A9930 #569930
triadic
#8A9930 #308A99 #99308A
tetradic
#8A9930 #309973 #3F3099 #993056
square
#8A9930 #309973 #3F3099 #993056
split-complementary
#8A9930 #305699 #733099
monochromatic
#363C13 #606A21 #8A9930 #B1C442 #C5D271

Accessibility & contrast

On white

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

On black

6.68
#8A9930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9930
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9930#FFFFFF#000000##000000
##8A99301.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39120
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#929084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9930;
/* rgb */ color: rgb(138, 153, 48);
/* oklch */ color: oklch(65.1% 0.129 117.1);
Tailwind
colors: {
  custom: {
    50: '#afb76f',
    500: '#8a9930',
    950: '#000000',
  },
}
SCSS
$custom: #8a9930;
$custom-light: #afb76f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9930",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 68.571,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65052,
    "c": 0.12891,
    "h": 117.1
  },
  "luminance": 0.28399
}

Semantic roles & 50–950 ramp

primary
#8A9930
secondary
#766BBA
accent
#4CDC61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9930

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

Preview Lab → · Contrast checker → · Palette generator →

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