#A8A536#A8A536

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

Color values

HEX#A8A536
RGBrgb(168, 165, 54)
HSLhsl(58, 51%, 44%)
HSVhsv(58, 68%, 66%)
CMYKcmyk(0%, 1.8%, 67.9%, 34.1%)
CIE-LABlab(66.14, -12.59, 55.32)
CIE-LCHlch(66.14, 56.73, 102.82°)
OKLaboklab(70.38% -0.0398 0.124)
OKLCHoklch(70.38% 0.13 107.8)
XYZxyz(30.2705, 35.5024, 8.7474)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A536 #3639A8
analogous
#A86C36 #A8A536 #72A836
triadic
#A8A536 #36A8A5 #A536A8
tetradic
#A8A536 #36A86C #3639A8 #A83672
square
#A8A536 #36A86C #3639A8 #A83672
split-complementary
#A8A536 #3672A8 #6C36A8
monochromatic
#4B4A18 #7A7827 #A8A536 #C8C553 #D7D482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A536#FFFFFF#000000##000000
##A8A5361.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)
#B39F26
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#B49A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a536;
/* rgb */ color: rgb(168, 165, 54);
/* oklch */ color: oklch(70.4% 0.130 107.8);
Tailwind
colors: {
  custom: {
    50: '#c5bf74',
    500: '#a8a536',
    950: '#000000',
  },
}
SCSS
$custom: #a8a536;
$custom-light: #c5bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a536",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 58.421,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.13025,
    "h": 107.8
  },
  "luminance": 0.35501
}

Semantic roles & 50–950 ramp

primary
#A8A536
secondary
#7A7BC0
accent
#51DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A536

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

Preview Lab → · Contrast checker → · Palette generator →

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