#A8A339#A8A339

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

Color values

HEX#A8A339
RGBrgb(168, 163, 57)
HSLhsl(57, 49%, 44%)
HSVhsv(57, 66%, 66%)
CMYKcmyk(0%, 3%, 66.1%, 34.1%)
CIE-LABlab(65.60, -11.37, 53.54)
CIE-LCHlch(65.60, 54.74, 101.99°)
OKLaboklab(69.96% -0.036 0.1208)
OKLCHoklch(69.96% 0.126 106.6)
XYZxyz(29.9852, 34.8156, 9.0107)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A339 #393EA8
analogous
#A86C39 #A8A339 #76A839
triadic
#A8A339 #39A8A3 #A339A8
tetradic
#A8A339 #39A86C #393EA8 #A83976
square
#A8A339 #39A86C #393EA8 #A83976
split-complementary
#A8A339 #3976A8 #6C39A8
monochromatic
#4D4A1A #7A7729 #A8A339 #C6C158 #D6D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A339#FFFFFF#000000##000000
##A8A3391.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)
#B09D2B
Deuteranopia (green-blind)
#B3A140
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a339;
/* rgb */ color: rgb(168, 163, 57);
/* oklch */ color: oklch(70.0% 0.126 106.6);
Tailwind
colors: {
  custom: {
    50: '#c5be75',
    500: '#a8a339',
    950: '#000000',
  },
}
SCSS
$custom: #a8a339;
$custom-light: #c5be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a339",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 57.297,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69958,
    "c": 0.12603,
    "h": 106.6
  },
  "luminance": 0.34815
}

Semantic roles & 50–950 ramp

primary
#A8A339
secondary
#7D80C0
accent
#55D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A339

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

Preview Lab → · Contrast checker → · Palette generator →

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