#8A9631#8A9631

#8A9631 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.125 H 115.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A9631
RGBrgb(138, 150, 49)
HSLhsl(67, 51%, 39%)
HSVhsv(67, 67%, 59%)
CMYKcmyk(8%, 0%, 67.3%, 41.2%)
CIE-LABlab(59.38, -18.18, 49.67)
CIE-LCHlch(59.38, 52.89, 110.10°)
OKLaboklab(64.36% -0.0542 0.1121)
OKLCHoklch(64.36% 0.125 115.8)
XYZxyz(21.9425, 27.4380, 7.0453)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9631 #3D3196
analogous
#967031 #8A9631 #589631
triadic
#8A9631 #318A96 #96318A
tetradic
#8A9631 #319670 #3D3196 #963158
square
#8A9631 #319670 #3D3196 #963158
split-complementary
#8A9631 #315896 #703196
monochromatic
#353A13 #606822 #8A9631 #B2C143 #C5D171

Accessibility & contrast

On white

3.24
#8A9631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8A9631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9631
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9631#FFFFFF#000000##000000
##8A96311.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#9F9038
Tritanopia (blue-blind)
#938E82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9631;
/* rgb */ color: rgb(138, 150, 49);
/* oklch */ color: oklch(64.4% 0.125 115.8);
Tailwind
colors: {
  custom: {
    50: '#afb46f',
    500: '#8a9631',
    950: '#000000',
  },
}
SCSS
$custom: #8a9631;
$custom-light: #afb46f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9631",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 49
  },
  "hsl": {
    "h": 67.129,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64356,
    "c": 0.12455,
    "h": 115.8
  },
  "luminance": 0.27438
}

Semantic roles & 50–950 ramp

primary
#8A9631
secondary
#746AB8
accent
#4EDA5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9631

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

Preview Lab → · Contrast checker → · Palette generator →

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