#A8A537#A8A537

#A8A537 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.130 H 107.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A8A537
RGBrgb(168, 165, 55)
HSLhsl(58, 51%, 44%)
HSVhsv(58, 67%, 66%)
CMYKcmyk(0%, 1.8%, 67.3%, 34.1%)
CIE-LABlab(66.15, -12.53, 54.92)
CIE-LCHlch(66.15, 56.33, 102.85°)
OKLaboklab(70.38% -0.0396 0.1233)
OKLCHoklch(70.38% 0.13 107.8)
XYZxyz(30.2942, 35.5119, 8.8724)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A537 #373AA8
analogous
#A86C37 #A8A537 #72A837
triadic
#A8A537 #37A8A5 #A537A8
tetradic
#A8A537 #37A86C #373AA8 #A83772
square
#A8A537 #37A86C #373AA8 #A83772
split-complementary
#A8A537 #3772A8 #6C37A8
monochromatic
#4C4A19 #7A7828 #A8A537 #C7C455 #D6D483

Accessibility & contrast

On white

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

On black

8.10
#A8A537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A537
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A537#FFFFFF#000000##000000
##A8A5371.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F27
Deuteranopia (green-blind)
#B4A33E
Tritanopia (blue-blind)
#B49A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a537;
/* rgb */ color: rgb(168, 165, 55);
/* oklch */ color: oklch(70.4% 0.130 107.8);
Tailwind
colors: {
  custom: {
    50: '#c5bf74',
    500: '#a8a537',
    950: '#000000',
  },
}
SCSS
$custom: #a8a537;
$custom-light: #c5bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a537",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 58.407,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70384,
    "c": 0.12953,
    "h": 107.8
  },
  "luminance": 0.35511
}

Semantic roles & 50–950 ramp

primary
#A8A537
secondary
#7B7DC0
accent
#51DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A537

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

Preview Lab → · Contrast checker → · Palette generator →

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