#A8A440#A8A440

#A8A440 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.121 H 107.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A8A440
RGBrgb(168, 164, 64)
HSLhsl(58, 45%, 45%)
HSVhsv(58, 62%, 66%)
CMYKcmyk(0%, 2.4%, 61.9%, 34.1%)
CIE-LABlab(65.94, -11.44, 50.88)
CIE-LCHlch(65.94, 52.15, 102.67°)
OKLaboklab(70.24% -0.0355 0.1162)
OKLCHoklch(70.24% 0.121 107)
XYZxyz(30.3503, 35.2469, 10.0541)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A440 #4044A8
analogous
#A87040 #A8A440 #78A840
triadic
#A8A440 #40A8A4 #A440A8
tetradic
#A8A440 #40A870 #4044A8 #A84078
square
#A8A440 #40A870 #4044A8 #A84078
split-complementary
#A8A440 #4078A8 #7040A8
monochromatic
#4F4D1E #7C792F #A8A440 #C3BF62 #D4D18E

Accessibility & contrast

On white

2.61
#A8A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A8A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A440
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A440#FFFFFF#000000##000000
##A8A4401.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#B49A8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a440;
/* rgb */ color: rgb(168, 164, 64);
/* oklch */ color: oklch(70.2% 0.121 107.0);
Tailwind
colors: {
  custom: {
    50: '#c4be79',
    500: '#a8a440',
    950: '#000000',
  },
}
SCSS
$custom: #a8a440;
$custom-light: #c4be79;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a440",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 57.692,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70244,
    "c": 0.12148,
    "h": 107
  },
  "luminance": 0.35246
}

Semantic roles & 50–950 ramp

primary
#A8A440
secondary
#8587BF
accent
#58D553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A440

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

Preview Lab → · Contrast checker → · Palette generator →

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