#A8A131#A8A131

#A8A131 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.5% C 0.130 H 105.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A8A131
RGBrgb(168, 161, 49)
HSLhsl(56, 55%, 43%)
HSVhsv(56, 71%, 66%)
CMYKcmyk(0%, 4.2%, 70.8%, 34.1%)
CIE-LABlab(64.99, -10.77, 56.14)
CIE-LCHlch(64.99, 57.17, 100.86°)
OKLaboklab(69.45% -0.0352 0.1249)
OKLCHoklch(69.45% 0.13 105.8)
XYZxyz(29.4489, 34.0374, 7.9238)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A131 #3138A8
analogous
#A86631 #A8A131 #73A831
triadic
#A8A131 #31A8A1 #A131A8
tetradic
#A8A131 #31A866 #3138A8 #A83173
square
#A8A131 #31A866 #3138A8 #A83173
split-complementary
#A8A131 #3173A8 #6631A8
monochromatic
#494615 #797423 #A8A131 #CBC34C #D8D37B

Accessibility & contrast

On white

2.69
#A8A131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A8A131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A131
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A131#FFFFFF#000000##000000
##A8A1311.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a131;
/* rgb */ color: rgb(168, 161, 49);
/* oklch */ color: oklch(69.5% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#c5bc70',
    500: '#a8a131',
    950: '#000000',
  },
}
SCSS
$custom: #a8a131;
$custom-light: #c5bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a131",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 56.471,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.12974,
    "h": 105.8
  },
  "luminance": 0.34036
}

Semantic roles & 50–950 ramp

primary
#A8A131
secondary
#7478C1
accent
#52DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A131

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

Preview Lab → · Contrast checker → · Palette generator →

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