#A8A345#A8A345

#A8A345 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.116 H 106.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A8A345
RGBrgb(168, 163, 69)
HSLhsl(57, 42%, 46%)
HSVhsv(57, 59%, 66%)
CMYKcmyk(0%, 3%, 58.9%, 34.1%)
CIE-LABlab(65.71, -10.55, 48.36)
CIE-LCHlch(65.71, 49.50, 102.31°)
OKLaboklab(70.08% -0.0324 0.1115)
OKLCHoklch(70.08% 0.116 106.2)
XYZxyz(30.3208, 34.9498, 10.7779)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A345 #454AA8
analogous
#A87245 #A8A345 #7CA845
triadic
#A8A345 #45A8A3 #A345A8
tetradic
#A8A345 #45A872 #454AA8 #A8457C
square
#A8A345 #45A872 #454AA8 #A8457C
split-complementary
#A8A345 #457CA8 #7245A8
monochromatic
#514F21 #7D7933 #A8A345 #C1BD69 #D3D094

Accessibility & contrast

On white

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

On black

7.99
#A8A345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A345
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A345#FFFFFF#000000##000000
##A8A3451.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a345;
/* rgb */ color: rgb(168, 163, 69);
/* oklch */ color: oklch(70.1% 0.116 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4be7c',
    500: '#a8a345',
    950: '#000000',
  },
}
SCSS
$custom: #a8a345;
$custom-light: #c4be7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a345",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 69
  },
  "hsl": {
    "h": 56.97,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70075,
    "c": 0.11614,
    "h": 106.2
  },
  "luminance": 0.34949
}

Semantic roles & 50–950 ramp

primary
#A8A345
secondary
#8A8DBF
accent
#5CD256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A345

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

Preview Lab → · Contrast checker → · Palette generator →

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