#8A9730#8A9730

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

Color values

HEX#8A9730
RGBrgb(138, 151, 48)
HSLhsl(68, 52%, 39%)
HSVhsv(68, 68%, 59%)
CMYKcmyk(8.6%, 0%, 68.2%, 40.8%)
CIE-LABlab(59.66, -18.76, 50.37)
CIE-LCHlch(59.66, 53.75, 110.42°)
OKLaboklab(64.58% -0.0559 0.1135)
OKLCHoklch(64.58% 0.127 116.2)
XYZxyz(22.0819, 27.7502, 6.9888)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9730 #3D3097
analogous
#977130 #8A9730 #579730
triadic
#8A9730 #308A97 #97308A
tetradic
#8A9730 #309771 #3D3097 #973057
square
#8A9730 #309771 #3D3097 #973057
split-complementary
#8A9730 #305797 #713097
monochromatic
#353A12 #606921 #8A9730 #B2C341 #C5D270

Accessibility & contrast

On white

3.21
#8A9730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8A9730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9730
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9730#FFFFFF#000000##000000
##8A97301.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F21
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#938E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9730;
/* rgb */ color: rgb(138, 151, 48);
/* oklch */ color: oklch(64.6% 0.127 116.2);
Tailwind
colors: {
  custom: {
    50: '#afb56e',
    500: '#8a9730',
    950: '#000000',
  },
}
SCSS
$custom: #8a9730;
$custom-light: #afb56e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9730",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 67.573,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64582,
    "c": 0.1265,
    "h": 116.2
  },
  "luminance": 0.2775
}

Semantic roles & 50–950 ramp

primary
#8A9730
secondary
#746AB9
accent
#4DDB5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9730

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

Preview Lab → · Contrast checker → · Palette generator →

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