#A8A535#A8A535

#A8A535 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.131 H 107.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A8A535
RGBrgb(168, 165, 53)
HSLhsl(58, 52%, 43%)
HSVhsv(58, 68%, 66%)
CMYKcmyk(0%, 1.8%, 68.5%, 34.1%)
CIE-LABlab(66.13, -12.65, 55.71)
CIE-LCHlch(66.13, 57.13, 102.79°)
OKLaboklab(70.37% -0.0401 0.1247)
OKLCHoklch(70.37% 0.131 107.8)
XYZxyz(30.2473, 35.4931, 8.6250)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A535 #3538A8
analogous
#A86B35 #A8A535 #71A835
triadic
#A8A535 #35A8A5 #A535A8
tetradic
#A8A535 #35A86B #3538A8 #A83571
square
#A8A535 #35A86B #3538A8 #A83571
split-complementary
#A8A535 #3571A8 #6B35A8
monochromatic
#4B4A18 #797726 #A8A535 #C8C552 #D7D580

Accessibility & contrast

On white

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

On black

8.10
#A8A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A535
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A535#FFFFFF#000000##000000
##A8A5351.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E24
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#B49A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a535;
/* rgb */ color: rgb(168, 165, 53);
/* oklch */ color: oklch(70.4% 0.131 107.8);
Tailwind
colors: {
  custom: {
    50: '#c5bf73',
    500: '#a8a535',
    950: '#000000',
  },
}
SCSS
$custom: #a8a535;
$custom-light: #c5bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a535",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 58.435,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.13095,
    "h": 107.8
  },
  "luminance": 0.35492
}

Semantic roles & 50–950 ramp

primary
#A8A535
secondary
#787AC0
accent
#50DB4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A535

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

Preview Lab → · Contrast checker → · Palette generator →

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