#8A9031#8A9031

#8A9031 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.0% C 0.117 H 112.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A9031
RGBrgb(138, 144, 49)
HSLhsl(64, 49%, 38%)
HSVhsv(64, 66%, 56%)
CMYKcmyk(4.2%, 0%, 66%, 43.5%)
CIE-LABlab(57.63, -15.05, 47.85)
CIE-LCHlch(57.63, 50.16, 107.46°)
OKLaboklab(62.96% -0.0455 0.1083)
OKLCHoklch(62.96% 0.117 112.8)
XYZxyz(21.0094, 25.5720, 6.7343)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9031 #373190
analogous
#906631 #8A9031 #5B9031
triadic
#8A9031 #318A90 #90318A
tetradic
#8A9031 #319066 #373190 #90315B
square
#8A9031 #319066 #373190 #90315B
split-complementary
#8A9031 #315B90 #663190
monochromatic
#323512 #5E6221 #8A9031 #B6BE41 #C8CE6E

Accessibility & contrast

On white

3.43
#8A9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8A9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9031
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9031#FFFFFF#000000##000000
##8A90311.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8924
Deuteranopia (green-blind)
#9B8B37
Tritanopia (blue-blind)
#93877D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9031;
/* rgb */ color: rgb(138, 144, 49);
/* oklch */ color: oklch(63.0% 0.117 112.8);
Tailwind
colors: {
  custom: {
    50: '#afb06e',
    500: '#8a9031',
    950: '#000000',
  },
}
SCSS
$custom: #8a9031;
$custom-light: #afb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9031",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 63.789,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62955,
    "c": 0.11746,
    "h": 112.8
  },
  "luminance": 0.25572
}

Semantic roles & 50–950 ramp

primary
#8A9031
secondary
#6D68B5
accent
#4FD958
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9031

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

Preview Lab → · Contrast checker → · Palette generator →

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