#8A9331#8A9331

#8A9331 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.121 H 114.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A9331
RGBrgb(138, 147, 49)
HSLhsl(66, 50%, 38%)
HSVhsv(66, 67%, 58%)
CMYKcmyk(6.1%, 0%, 66.7%, 42.4%)
CIE-LABlab(58.50, -16.62, 48.76)
CIE-LCHlch(58.50, 51.52, 108.82°)
OKLaboklab(63.65% -0.0499 0.1102)
OKLCHoklch(63.65% 0.121 114.3)
XYZxyz(21.4699, 26.4928, 6.8878)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9331 #3A3193
analogous
#936B31 #8A9331 #599331
triadic
#8A9331 #318A93 #93318A
tetradic
#8A9331 #31936B #3A3193 #933159
square
#8A9331 #31936B #3A3193 #933159
split-complementary
#8A9331 #315993 #6B3193
monochromatic
#343712 #5F6522 #8A9331 #B4C041 #C6CF6F

Accessibility & contrast

On white

3.33
#8A9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8A9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9331
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9331#FFFFFF#000000##000000
##8A93311.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C24
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9331;
/* rgb */ color: rgb(138, 147, 49);
/* oklch */ color: oklch(63.7% 0.121 114.3);
Tailwind
colors: {
  custom: {
    50: '#afb26f',
    500: '#8a9331',
    950: '#000000',
  },
}
SCSS
$custom: #8a9331;
$custom-light: #afb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9331",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 65.51,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63654,
    "c": 0.12098,
    "h": 114.3
  },
  "luminance": 0.26492
}

Semantic roles & 50–950 ramp

primary
#8A9331
secondary
#7069B7
accent
#4EDA5B
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9331

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

Preview Lab → · Contrast checker → · Palette generator →

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