#A8A248#A8A248

#A8A248 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.112 H 105.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A8A248
RGBrgb(168, 162, 72)
HSLhsl(56, 40%, 47%)
HSVhsv(56, 57%, 66%)
CMYKcmyk(0%, 3.6%, 57.1%, 34.1%)
CIE-LABlab(65.46, -9.80, 46.68)
CIE-LCHlch(65.46, 47.70, 101.85°)
OKLaboklab(69.89% -0.0299 0.1083)
OKLCHoklch(69.89% 0.112 105.4)
XYZxyz(30.2394, 34.6343, 11.2218)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A248 #484EA8
analogous
#A87248 #A8A248 #7EA848
triadic
#A8A248 #48A8A2 #A248A8
tetradic
#A8A248 #48A872 #484EA8 #A8487E
square
#A8A248 #48A872 #484EA8 #A8487E
split-complementary
#A8A248 #487EA8 #7248A8
monochromatic
#524F23 #7D7936 #A8A248 #C0BB6D #D3CF98

Accessibility & contrast

On white

2.65
#A8A248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A8A248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A248
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A248#FFFFFF#000000##000000
##A8A2481.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3F
Deuteranopia (green-blind)
#B1A14D
Tritanopia (blue-blind)
#B3988E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a248;
/* rgb */ color: rgb(168, 162, 72);
/* oklch */ color: oklch(69.9% 0.112 105.4);
Tailwind
colors: {
  custom: {
    50: '#c4bd7e',
    500: '#a8a248',
    950: '#000000',
  },
}
SCSS
$custom: #a8a248;
$custom-light: #c4bd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a248",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 56.25,
    "s": 40,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69888,
    "c": 0.11237,
    "h": 105.4
  },
  "luminance": 0.34633
}

Semantic roles & 50–950 ramp

primary
#A8A248
secondary
#8D90BF
accent
#5FD058
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A248

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

Preview Lab → · Contrast checker → · Palette generator →

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