#A8A530#A8A530

#A8A530 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.134 H 107.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A8A530
RGBrgb(168, 165, 48)
HSLhsl(59, 56%, 42%)
HSVhsv(59, 71%, 66%)
CMYKcmyk(0%, 1.8%, 71.4%, 34.1%)
CIE-LABlab(66.10, -12.91, 57.60)
CIE-LCHlch(66.10, 59.03, 102.63°)
OKLaboklab(70.33% -0.0413 0.1278)
OKLCHoklch(70.33% 0.134 107.9)
XYZxyz(30.1382, 35.4495, 8.0506)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A530 #3033A8
analogous
#A86930 #A8A530 #6FA830
triadic
#A8A530 #30A8A5 #A530A8
tetradic
#A8A530 #30A869 #3033A8 #A8306F
square
#A8A530 #30A869 #3033A8 #A8306F
split-complementary
#A8A530 #306FA8 #6930A8
monochromatic
#494815 #787622 #A8A530 #CBC84A #D9D67A

Accessibility & contrast

On white

2.60
#A8A530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A8A530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A530
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A530#FFFFFF#000000##000000
##A8A5301.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a530;
/* rgb */ color: rgb(168, 165, 48);
/* oklch */ color: oklch(70.3% 0.134 107.9);
Tailwind
colors: {
  custom: {
    50: '#c5bf70',
    500: '#a8a530',
    950: '#000000',
  },
}
SCSS
$custom: #a8a530;
$custom-light: #c5bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a530",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 58.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.1343,
    "h": 107.9
  },
  "luminance": 0.35448
}

Semantic roles & 50–950 ramp

primary
#A8A530
secondary
#7375C1
accent
#4DDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A530

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

Preview Lab → · Contrast checker → · Palette generator →

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