#A8A348#A8A348

#A8A348 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.113 H 106.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A8A348
RGBrgb(168, 163, 72)
HSLhsl(57, 40%, 47%)
HSVhsv(57, 57%, 66%)
CMYKcmyk(0%, 3%, 57.1%, 34.1%)
CIE-LABlab(65.74, -10.32, 47.00)
CIE-LCHlch(65.74, 48.12, 102.39°)
OKLaboklab(70.11% -0.0314 0.109)
OKLCHoklch(70.11% 0.113 106.1)
XYZxyz(30.4163, 34.9880, 11.2808)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A348 #484DA8
analogous
#A87348 #A8A348 #7DA848
triadic
#A8A348 #48A8A3 #A348A8
tetradic
#A8A348 #48A873 #484DA8 #A8487D
square
#A8A348 #48A873 #484DA8 #A8487D
split-complementary
#A8A348 #487DA8 #7348A8
monochromatic
#525023 #7D7936 #A8A348 #C0BC6D #D3D098

Accessibility & contrast

On white

2.63
#A8A348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A8A348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A348
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A348#FFFFFF#000000##000000
##A8A3481.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3F
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#B3998F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a348;
/* rgb */ color: rgb(168, 163, 72);
/* oklch */ color: oklch(70.1% 0.113 106.1);
Tailwind
colors: {
  custom: {
    50: '#c4be7e',
    500: '#a8a348',
    950: '#000000',
  },
}
SCSS
$custom: #a8a348;
$custom-light: #c4be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a348",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 56.875,
    "s": 40,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70108,
    "c": 0.11342,
    "h": 106.1
  },
  "luminance": 0.34987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A348

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

Preview Lab → · Contrast checker → · Palette generator →

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