#A8A35F#A8A35F

#A8A35F is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.090 H 104.8°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A8A35F
RGBrgb(168, 163, 95)
HSLhsl(56, 30%, 52%)
HSVhsv(56, 43%, 66%)
CMYKcmyk(0%, 3%, 43.5%, 34.1%)
CIE-LABlab(66.02, -8.20, 35.88)
CIE-LCHlch(66.02, 36.80, 102.87°)
OKLaboklab(70.42% -0.0229 0.0867)
OKLCHoklch(70.42% 0.09 104.8)
XYZxyz(31.3118, 35.3463, 15.9973)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A35F #5F64A8
analogous
#A87F5F #A8A35F #89A85F
triadic
#A8A35F #5FA8A3 #A35FA8
tetradic
#A8A35F #5FA87F #5F64A8 #A85F89
square
#A8A35F #5FA87F #5F64A8 #A85F89
split-complementary
#A8A35F #5F89A8 #7F5FA8
monochromatic
#5B5832 #837F47 #A8A35F #BEBA87 #D3D1AE

Accessibility & contrast

On white

2.60
#A8A35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A8A35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A35F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A35F#FFFFFF#000000##000000
##A8A35F1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E5A
Deuteranopia (green-blind)
#B0A262
Tritanopia (blue-blind)
#B29B93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a35f;
/* rgb */ color: rgb(168, 163, 95);
/* oklch */ color: oklch(70.4% 0.090 104.8);
Tailwind
colors: {
  custom: {
    50: '#c3be8d',
    500: '#a8a35f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a35f;
$custom-light: #c3be8d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a35f",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 95
  },
  "hsl": {
    "h": 55.89,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70419,
    "c": 0.08968,
    "h": 104.8
  },
  "luminance": 0.35345
}

Semantic roles & 50–950 ramp

primary
#A8A35F
secondary
#A1A4C1
accent
#69C662
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A8A35F

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

Preview Lab → · Contrast checker → · Palette generator →

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