#A8A336#A8A336

#A8A336 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.128 H 106.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A8A336
RGBrgb(168, 163, 54)
HSLhsl(57, 51%, 44%)
HSVhsv(57, 68%, 66%)
CMYKcmyk(0%, 3%, 67.9%, 34.1%)
CIE-LABlab(65.58, -11.55, 54.75)
CIE-LCHlch(65.58, 55.96, 101.91°)
OKLaboklab(69.93% -0.0369 0.1228)
OKLCHoklch(69.93% 0.128 106.7)
XYZxyz(29.9126, 34.7866, 8.6281)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A336 #363BA8
analogous
#A86A36 #A8A336 #74A836
triadic
#A8A336 #36A8A3 #A336A8
tetradic
#A8A336 #36A86A #363BA8 #A83674
square
#A8A336 #36A86A #363BA8 #A83674
split-complementary
#A8A336 #3674A8 #6A36A8
monochromatic
#4B4918 #7A7627 #A8A336 #C8C353 #D7D382

Accessibility & contrast

On white

2.64
#A8A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A8A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A336
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A336#FFFFFF#000000##000000
##A8A3361.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D26
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a336;
/* rgb */ color: rgb(168, 163, 54);
/* oklch */ color: oklch(69.9% 0.128 106.7);
Tailwind
colors: {
  custom: {
    50: '#c5be73',
    500: '#a8a336',
    950: '#000000',
  },
}
SCSS
$custom: #a8a336;
$custom-light: #c5be73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a336",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 57.368,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69932,
    "c": 0.12824,
    "h": 106.7
  },
  "luminance": 0.34786
}

Semantic roles & 50–950 ramp

primary
#A8A336
secondary
#7A7DC0
accent
#53DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A336

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

Preview Lab → · Contrast checker → · Palette generator →

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