#A8A830#A8A830

#A8A830 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.137 H 109.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A8A830
RGBrgb(168, 168, 48)
HSLhsl(60, 56%, 42%)
HSVhsv(60, 71%, 66%)
CMYKcmyk(0%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.93, -14.47, 58.42)
CIE-LCHlch(66.93, 60.18, 103.91°)
OKLaboklab(71% -0.0457 0.1295)
OKLCHoklch(71% 0.137 109.4)
XYZxyz(30.6857, 36.5444, 8.2331)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A830 #3030A8
analogous
#A86C30 #A8A830 #6CA830
triadic
#A8A830 #30A8A8 #A830A8
tetradic
#A8A830 #30A86C #3030A8 #A8306C
square
#A8A830 #30A86C #3030A8 #A8306C
split-complementary
#A8A830 #306CA8 #6C30A8
monochromatic
#494915 #787822 #A8A830 #CBCB4A #D9D97A

Accessibility & contrast

On white

2.53
#A8A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A8A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A830
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A830#FFFFFF#000000##000000
##A8A8301.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#B49D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a830;
/* rgb */ color: rgb(168, 168, 48);
/* oklch */ color: oklch(71.0% 0.137 109.4);
Tailwind
colors: {
  custom: {
    50: '#c5c171',
    500: '#a8a830',
    950: '#000000',
  },
}
SCSS
$custom: #a8a830;
$custom-light: #c5c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a830",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.13733,
    "h": 109.4
  },
  "luminance": 0.36543
}

Semantic roles & 50–950 ramp

primary
#A8A830
secondary
#7373C1
accent
#49DF49
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A830

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

Preview Lab → · Contrast checker → · Palette generator →

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