#8A9431#8A9431

#8A9431 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 63.9% C 0.122 H 114.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A9431
RGBrgb(138, 148, 49)
HSLhsl(66, 50%, 39%)
HSVhsv(66, 67%, 58%)
CMYKcmyk(6.8%, 0%, 66.9%, 42%)
CIE-LABlab(58.79, -17.14, 49.06)
CIE-LCHlch(58.79, 51.97, 109.26°)
OKLaboklab(63.89% -0.0513 0.1109)
OKLCHoklch(63.89% 0.122 114.8)
XYZxyz(21.6260, 26.8052, 6.9398)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9431 #3B3194
analogous
#946C31 #8A9431 #589431
triadic
#8A9431 #318A94 #94318A
tetradic
#8A9431 #31946C #3B3194 #943158
square
#8A9431 #31946C #3B3194 #943158
split-complementary
#8A9431 #315894 #6C3194
monochromatic
#343813 #5F6622 #8A9431 #B4C042 #C6D070

Accessibility & contrast

On white

3.30
#8A9431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8A9431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9431
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9431#FFFFFF#000000##000000
##8A94311.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D23
Deuteranopia (green-blind)
#9E8E38
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9431;
/* rgb */ color: rgb(138, 148, 49);
/* oklch */ color: oklch(63.9% 0.122 114.8);
Tailwind
colors: {
  custom: {
    50: '#afb36f',
    500: '#8a9431',
    950: '#000000',
  },
}
SCSS
$custom: #8a9431;
$custom-light: #afb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9431",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 49
  },
  "hsl": {
    "h": 66.061,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63888,
    "c": 0.12216,
    "h": 114.8
  },
  "luminance": 0.26805
}

Semantic roles & 50–950 ramp

primary
#8A9431
secondary
#7169B7
accent
#4EDA5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9431

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

Preview Lab → · Contrast checker → · Palette generator →

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