#A8A534#A8A534

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

Color values

HEX#A8A534
RGBrgb(168, 165, 52)
HSLhsl(58, 53%, 43%)
HSVhsv(58, 69%, 66%)
CMYKcmyk(0%, 1.8%, 69%, 34.1%)
CIE-LABlab(66.12, -12.70, 56.10)
CIE-LCHlch(66.12, 57.52, 102.76°)
OKLaboklab(70.36% -0.0403 0.1253)
OKLCHoklch(70.36% 0.132 107.8)
XYZxyz(30.2245, 35.4840, 8.5051)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A534 #3437A8
analogous
#A86B34 #A8A534 #71A834
triadic
#A8A534 #34A8A5 #A534A8
tetradic
#A8A534 #34A86B #3437A8 #A83471
square
#A8A534 #34A86B #3437A8 #A83471
split-complementary
#A8A534 #3471A8 #6B34A8
monochromatic
#4B4917 #797726 #A8A534 #C9C650 #D7D57F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A534#FFFFFF#000000##000000
##A8A5341.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)
#B39E23
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a534;
/* rgb */ color: rgb(168, 165, 52);
/* oklch */ color: oklch(70.4% 0.132 107.8);
Tailwind
colors: {
  custom: {
    50: '#c5bf72',
    500: '#a8a534',
    950: '#000000',
  },
}
SCSS
$custom: #a8a534;
$custom-light: #c5bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a534",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 58.448,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7036,
    "c": 0.13165,
    "h": 107.8
  },
  "luminance": 0.35483
}

Semantic roles & 50–950 ramp

primary
#A8A534
secondary
#7779C0
accent
#4FDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A534

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

Preview Lab → · Contrast checker → · Palette generator →

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