#A8A152#A8A152

#A8A152 is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.102 H 104.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A8A152
RGBrgb(168, 161, 82)
HSLhsl(55, 34%, 49%)
HSVhsv(55, 51%, 66%)
CMYKcmyk(0%, 4.2%, 51.2%, 34.1%)
CIE-LABlab(65.30, -8.42, 41.63)
CIE-LCHlch(65.30, 42.47, 101.44°)
OKLaboklab(69.79% -0.0248 0.0985)
OKLCHoklch(69.79% 0.102 104.2)
XYZxyz(30.4171, 34.4247, 13.0234)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A152 #5259A8
analogous
#A87652 #A8A152 #84A852
triadic
#A8A152 #52A8A1 #A152A8
tetradic
#A8A152 #52A876 #5259A8 #A85284
square
#A8A152 #52A876 #5259A8 #A85284
split-complementary
#A8A152 #5284A8 #7652A8
monochromatic
#56522A #7F7A3E #A8A152 #BEB879 #D2CEA3

Accessibility & contrast

On white

2.66
#A8A152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A8A152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A152
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A152#FFFFFF#000000##000000
##A8A1521.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4B
Deuteranopia (green-blind)
#AFA056
Tritanopia (blue-blind)
#B3988F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a152;
/* rgb */ color: rgb(168, 161, 82);
/* oklch */ color: oklch(69.8% 0.102 104.2);
Tailwind
colors: {
  custom: {
    50: '#c4bc85',
    500: '#a8a152',
    950: '#000000',
  },
}
SCSS
$custom: #a8a152;
$custom-light: #c4bc85;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a152",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 55.116,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69793,
    "c": 0.10153,
    "h": 104.2
  },
  "luminance": 0.34424
}

Semantic roles & 50–950 ramp

primary
#A8A152
secondary
#979ABF
accent
#66CA5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A152

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

Preview Lab → · Contrast checker → · Palette generator →

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