#A8A458#A8A458

#A8A458 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.5% C 0.099 H 106.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A8A458
RGBrgb(168, 164, 88)
HSLhsl(57, 31%, 50%)
HSVhsv(57, 48%, 66%)
CMYKcmyk(0%, 2.4%, 47.6%, 34.1%)
CIE-LABlab(66.20, -9.44, 39.69)
CIE-LCHlch(66.20, 40.80, 103.38°)
OKLaboklab(70.53% -0.0271 0.0947)
OKLCHoklch(70.53% 0.099 106)
XYZxyz(31.1861, 35.5812, 14.4557)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A458 #585CA8
analogous
#A87C58 #A8A458 #84A858
triadic
#A8A458 #58A8A4 #A458A8
tetradic
#A8A458 #58A87C #585CA8 #A85884
square
#A8A458 #58A87C #585CA8 #A85884
split-complementary
#A8A458 #5884A8 #7C58A8
monochromatic
#58562E #807D43 #A8A458 #BDBA80 #D2D0A8

Accessibility & contrast

On white

2.59
#A8A458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A8A458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A458
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A458#FFFFFF#000000##000000
##A8A4581.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F51
Deuteranopia (green-blind)
#B1A35C
Tritanopia (blue-blind)
#B29B92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a458;
/* rgb */ color: rgb(168, 164, 88);
/* oklch */ color: oklch(70.5% 0.099 106.0);
Tailwind
colors: {
  custom: {
    50: '#c3be89',
    500: '#a8a458',
    950: '#000000',
  },
}
SCSS
$custom: #a8a458;
$custom-light: #c3be89;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a458",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 57,
    "s": 31.496,
    "l": 50.196
  },
  "oklch": {
    "l": 0.70533,
    "c": 0.09853,
    "h": 106
  },
  "luminance": 0.3558
}

Semantic roles & 50–950 ramp

primary
#A8A458
secondary
#9C9EC0
accent
#65C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A458

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

Preview Lab → · Contrast checker → · Palette generator →

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