#A8A835#A8A835

#A8A835 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.134 H 109.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A8A835
RGBrgb(168, 168, 53)
HSLhsl(60, 52%, 43%)
HSVhsv(60, 68%, 66%)
CMYKcmyk(0%, 0%, 68.5%, 34.1%)
CIE-LABlab(66.97, -14.20, 56.55)
CIE-LCHlch(66.97, 58.31, 104.10°)
OKLaboklab(71.04% -0.0445 0.1264)
OKLCHoklch(71.04% 0.134 109.4)
XYZxyz(30.7947, 36.5880, 8.8075)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A835 #3535A8
analogous
#A86E35 #A8A835 #6EA835
triadic
#A8A835 #35A8A8 #A835A8
tetradic
#A8A835 #35A86E #3535A8 #A8356E
square
#A8A835 #35A86E #3535A8 #A8356E
split-complementary
#A8A835 #356EA8 #6E35A8
monochromatic
#4B4B18 #797926 #A8A835 #C8C852 #D7D780

Accessibility & contrast

On white

2.52
#A8A835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A8A835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A835
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A835#FFFFFF#000000##000000
##A8A8351.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A123
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#B49D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a835;
/* rgb */ color: rgb(168, 168, 53);
/* oklch */ color: oklch(71.0% 0.134 109.4);
Tailwind
colors: {
  custom: {
    50: '#c5c173',
    500: '#a8a835',
    950: '#000000',
  },
}
SCSS
$custom: #a8a835;
$custom-light: #c5c173;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a835",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 53
  },
  "hsl": {
    "h": 60,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71035,
    "c": 0.13402,
    "h": 109.4
  },
  "luminance": 0.36587
}

Semantic roles & 50–950 ramp

primary
#A8A835
secondary
#7878C0
accent
#4CDB4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A835

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

Preview Lab → · Contrast checker → · Palette generator →

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