#A8A548#A8A548

#A8A548 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.116 H 107.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A8A548
RGBrgb(168, 165, 72)
HSLhsl(58, 40%, 47%)
HSVhsv(58, 57%, 66%)
CMYKcmyk(0%, 1.8%, 57.1%, 34.1%)
CIE-LABlab(66.29, -11.38, 47.62)
CIE-LCHlch(66.29, 48.96, 103.43°)
OKLaboklab(70.55% -0.0344 0.1103)
OKLCHoklch(70.55% 0.116 107.3)
XYZxyz(30.7742, 35.7039, 11.4001)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A548 #484BA8
analogous
#A87548 #A8A548 #7BA848
triadic
#A8A548 #48A8A5 #A548A8
tetradic
#A8A548 #48A875 #484BA8 #A8487B
square
#A8A548 #48A875 #484BA8 #A8487B
split-complementary
#A8A548 #487BA8 #7548A8
monochromatic
#525123 #7D7B36 #A8A548 #C0BE6D #D3D198

Accessibility & contrast

On white

2.58
#A8A548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A8A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A548
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A548#FFFFFF#000000##000000
##A8A5481.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3E
Deuteranopia (green-blind)
#B3A34D
Tritanopia (blue-blind)
#B39B91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a548;
/* rgb */ color: rgb(168, 165, 72);
/* oklch */ color: oklch(70.5% 0.116 107.3);
Tailwind
colors: {
  custom: {
    50: '#c4bf7e',
    500: '#a8a548',
    950: '#000000',
  },
}
SCSS
$custom: #a8a548;
$custom-light: #c4bf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a548",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 58.125,
    "s": 40,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70549,
    "c": 0.11556,
    "h": 107.3
  },
  "luminance": 0.35703
}

Semantic roles & 50–950 ramp

primary
#A8A548
secondary
#8D8FBF
accent
#5CD058
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A548

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

Preview Lab → · Contrast checker → · Palette generator →

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