#A8A045#A8A045

#A8A045 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.113 H 104.3°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A8A045
RGBrgb(168, 160, 69)
HSLhsl(55, 42%, 46%)
HSVhsv(55, 59%, 66%)
CMYKcmyk(0%, 4.8%, 58.9%, 34.1%)
CIE-LABlab(64.88, -8.97, 47.44)
CIE-LCHlch(64.88, 48.28, 100.71°)
OKLaboklab(69.42% -0.0279 0.1096)
OKLCHoklch(69.42% 0.113 104.3)
XYZxyz(29.7944, 33.8971, 10.6024)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A045 #454DA8
analogous
#A86F45 #A8A045 #7FA845
triadic
#A8A045 #45A8A0 #A045A8
tetradic
#A8A045 #45A86F #454DA8 #A8457F
square
#A8A045 #45A86F #454DA8 #A8457F
split-complementary
#A8A045 #457FA8 #6F45A8
monochromatic
#514D21 #7D7733 #A8A045 #C1BA69 #D3CE94

Accessibility & contrast

On white

2.70
#A8A045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A8A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A045
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A045#FFFFFF#000000##000000
##A8A0451.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3B
Deuteranopia (green-blind)
#B09F4A
Tritanopia (blue-blind)
#B4968C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a045;
/* rgb */ color: rgb(168, 160, 69);
/* oklch */ color: oklch(69.4% 0.113 104.3);
Tailwind
colors: {
  custom: {
    50: '#c4bb7c',
    500: '#a8a045',
    950: '#000000',
  },
}
SCSS
$custom: #a8a045;
$custom-light: #c4bb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a045",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 55.152,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69415,
    "c": 0.11305,
    "h": 104.3
  },
  "luminance": 0.33896
}

Semantic roles & 50–950 ramp

primary
#A8A045
secondary
#8A8EBF
accent
#60D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #A8A045

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

Preview Lab → · Contrast checker → · Palette generator →

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