#A8A148#A8A148

#A8A148 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.111 H 104.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A8A148
RGBrgb(168, 161, 72)
HSLhsl(56, 40%, 47%)
HSVhsv(56, 57%, 66%)
CMYKcmyk(0%, 4.2%, 57.1%, 34.1%)
CIE-LABlab(65.19, -9.27, 46.37)
CIE-LCHlch(65.19, 47.29, 101.30°)
OKLaboklab(69.67% -0.0284 0.1077)
OKLCHoklch(69.67% 0.111 104.8)
XYZxyz(30.0640, 34.2834, 11.1633)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A148 #484FA8
analogous
#A87148 #A8A148 #7FA848
triadic
#A8A148 #48A8A1 #A148A8
tetradic
#A8A148 #48A871 #484FA8 #A8487F
square
#A8A148 #48A871 #484FA8 #A8487F
split-complementary
#A8A148 #487FA8 #7148A8
monochromatic
#524F23 #7D7836 #A8A148 #C0BA6D #D3CE98

Accessibility & contrast

On white

2.67
#A8A148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A8A148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A148
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A148#FFFFFF#000000##000000
##A8A1481.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3F
Deuteranopia (green-blind)
#B0A04D
Tritanopia (blue-blind)
#B3978D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a148;
/* rgb */ color: rgb(168, 161, 72);
/* oklch */ color: oklch(69.7% 0.111 104.8);
Tailwind
colors: {
  custom: {
    50: '#c4bc7e',
    500: '#a8a148',
    950: '#000000',
  },
}
SCSS
$custom: #a8a148;
$custom-light: #c4bc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a148",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 55.625,
    "s": 40,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69669,
    "c": 0.11133,
    "h": 104.8
  },
  "luminance": 0.34282
}

Semantic roles & 50–950 ramp

primary
#A8A148
secondary
#8D91BF
accent
#61D058
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A148

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

Preview Lab → · Contrast checker → · Palette generator →

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