#A8A83A#A8A83A

#A8A83A is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.1% C 0.130 H 109.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A8A83A
RGBrgb(168, 168, 58)
HSLhsl(60, 49%, 44%)
HSVhsv(60, 65%, 66%)
CMYKcmyk(0%, 0%, 65.5%, 34.1%)
CIE-LABlab(67.00, -13.91, 54.57)
CIE-LCHlch(67.00, 56.32, 104.30°)
OKLaboklab(71.08% -0.0431 0.1231)
OKLCHoklch(71.08% 0.13 109.3)
XYZxyz(30.9158, 36.6365, 9.4452)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A83A #3A3AA8
analogous
#A8713A #A8A83A #71A83A
triadic
#A8A83A #3AA8A8 #A83AA8
tetradic
#A8A83A #3AA871 #3A3AA8 #A83A71
square
#A8A83A #3AA871 #3A3AA8 #A83A71
split-complementary
#A8A83A #3A71A8 #713AA8
monochromatic
#4D4D1B #7B7B2A #A8A83A #C6C659 #D6D687

Accessibility & contrast

On white

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

On black

8.33
#A8A83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A83A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A83A#FFFFFF#000000##000000
##A8A83A1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#B49E92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a83a;
/* rgb */ color: rgb(168, 168, 58);
/* oklch */ color: oklch(71.1% 0.130 109.3);
Tailwind
colors: {
  custom: {
    50: '#c5c176',
    500: '#a8a83a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a83a;
$custom-light: #c5c176;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a83a",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71075,
    "c": 0.13042,
    "h": 109.3
  },
  "luminance": 0.36636
}

Semantic roles & 50–950 ramp

primary
#A8A83A
secondary
#7E7EC0
accent
#50D850
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A83A

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

Preview Lab → · Contrast checker → · Palette generator →

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