#A8A541#A8A541

#A8A541 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.5% C 0.122 H 107.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A8A541
RGBrgb(168, 165, 65)
HSLhsl(58, 44%, 46%)
HSVhsv(58, 61%, 66%)
CMYKcmyk(0%, 1.8%, 61.3%, 34.1%)
CIE-LABlab(66.23, -11.89, 50.74)
CIE-LCHlch(66.23, 52.12, 103.19°)
OKLaboklab(70.47% -0.0366 0.1161)
OKLCHoklch(70.47% 0.122 107.5)
XYZxyz(30.5587, 35.6177, 10.2652)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A541 #4144A8
analogous
#A87141 #A8A541 #78A841
triadic
#A8A541 #41A8A5 #A541A8
tetradic
#A8A541 #41A871 #4144A8 #A84178
square
#A8A541 #41A871 #4144A8 #A84178
split-complementary
#A8A541 #4178A8 #7141A8
monochromatic
#504E1F #7C7A30 #A8A541 #C3C063 #D4D290

Accessibility & contrast

On white

2.59
#A8A541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A8A541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A541
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A541#FFFFFF#000000##000000
##A8A5411.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F35
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#B39B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a541;
/* rgb */ color: rgb(168, 165, 65);
/* oklch */ color: oklch(70.5% 0.122 107.5);
Tailwind
colors: {
  custom: {
    50: '#c4bf7a',
    500: '#a8a541',
    950: '#000000',
  },
}
SCSS
$custom: #a8a541;
$custom-light: #c4bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a541",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 58.252,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70475,
    "c": 0.1217,
    "h": 107.5
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

primary
#A8A541
secondary
#8687BF
accent
#58D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A541

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

Preview Lab → · Contrast checker → · Palette generator →

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