#A8A130#A8A130

#A8A130 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.130 H 105.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A8A130
RGBrgb(168, 161, 48)
HSLhsl(57, 56%, 42%)
HSVhsv(57, 71%, 66%)
CMYKcmyk(0%, 4.2%, 71.4%, 34.1%)
CIE-LABlab(64.99, -10.82, 56.52)
CIE-LCHlch(64.99, 57.54, 100.84°)
OKLaboklab(69.44% -0.0355 0.1255)
OKLCHoklch(69.44% 0.13 105.8)
XYZxyz(29.4280, 34.0290, 7.8139)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A130 #3037A8
analogous
#A86530 #A8A130 #73A830
triadic
#A8A130 #30A8A1 #A130A8
tetradic
#A8A130 #30A865 #3037A8 #A83073
square
#A8A130 #30A865 #3037A8 #A83073
split-complementary
#A8A130 #3073A8 #6530A8
monochromatic
#494615 #787322 #A8A130 #CBC44A #D9D37A

Accessibility & contrast

On white

2.69
#A8A130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A8A130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A130
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A130#FFFFFF#000000##000000
##A8A1301.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#B4968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a130;
/* rgb */ color: rgb(168, 161, 48);
/* oklch */ color: oklch(69.4% 0.130 105.8);
Tailwind
colors: {
  custom: {
    50: '#c5bc70',
    500: '#a8a130',
    950: '#000000',
  },
}
SCSS
$custom: #a8a130;
$custom-light: #c5bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a130",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 56.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69444,
    "c": 0.13041,
    "h": 105.8
  },
  "luminance": 0.34028
}

Semantic roles & 50–950 ramp

primary
#A8A130
secondary
#7377C1
accent
#52DF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A130

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

Preview Lab → · Contrast checker → · Palette generator →

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