#A8A831#A8A831

#A8A831 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.137 H 109.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A8A831
RGBrgb(168, 168, 49)
HSLhsl(60, 55%, 43%)
HSVhsv(60, 71%, 66%)
CMYKcmyk(0%, 0%, 70.8%, 34.1%)
CIE-LABlab(66.94, -14.42, 58.05)
CIE-LCHlch(66.94, 59.82, 103.95°)
OKLaboklab(71.01% -0.0455 0.1289)
OKLCHoklch(71.01% 0.137 109.4)
XYZxyz(30.7065, 36.5528, 8.3430)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A831 #3131A8
analogous
#A86C31 #A8A831 #6CA831
triadic
#A8A831 #31A8A8 #A831A8
tetradic
#A8A831 #31A86C #3131A8 #A8316C
square
#A8A831 #31A86C #3131A8 #A8316C
split-complementary
#A8A831 #316CA8 #6C31A8
monochromatic
#494915 #797923 #A8A831 #CBCB4C #D8D87B

Accessibility & contrast

On white

2.53
#A8A831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A8A831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A831
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A831#FFFFFF#000000##000000
##A8A8311.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11D
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#B49D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a831;
/* rgb */ color: rgb(168, 168, 49);
/* oklch */ color: oklch(71.0% 0.137 109.4);
Tailwind
colors: {
  custom: {
    50: '#c5c171',
    500: '#a8a831',
    950: '#000000',
  },
}
SCSS
$custom: #a8a831;
$custom-light: #c5c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a831",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71005,
    "c": 0.13669,
    "h": 109.4
  },
  "luminance": 0.36552
}

Semantic roles & 50–950 ramp

primary
#A8A831
secondary
#7474C1
accent
#4ADE4A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A831

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

Preview Lab → · Contrast checker → · Palette generator →

#A8A831 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva