#A8A83D#A8A83D

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

Color values

HEX#A8A83D
RGBrgb(168, 168, 61)
HSLhsl(60, 47%, 45%)
HSVhsv(60, 64%, 66%)
CMYKcmyk(0%, 0%, 63.7%, 34.1%)
CIE-LABlab(67.03, -13.72, 53.34)
CIE-LCHlch(67.03, 55.08, 104.43°)
OKLaboklab(71.1% -0.0423 0.121)
OKLCHoklch(71.1% 0.128 109.3)
XYZxyz(30.9944, 36.6679, 9.8589)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A83D #3D3DA8
analogous
#A8733D #A8A83D #73A83D
triadic
#A8A83D #3DA8A8 #A83DA8
tetradic
#A8A83D #3DA873 #3D3DA8 #A83D73
square
#A8A83D #3DA873 #3D3DA8 #A83D73
split-complementary
#A8A83D #3D73A8 #733DA8
monochromatic
#4E4E1C #7B7B2D #A8A83D #C4C45E #D5D58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A83D#FFFFFF#000000##000000
##A8A83D1.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)
#B5A12F
Deuteranopia (green-blind)
#B6A544
Tritanopia (blue-blind)
#B39E92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a83d;
/* rgb */ color: rgb(168, 168, 61);
/* oklch */ color: oklch(71.1% 0.128 109.3);
Tailwind
colors: {
  custom: {
    50: '#c5c178',
    500: '#a8a83d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a83d;
$custom-light: #c5c178;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a83d",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71102,
    "c": 0.12813,
    "h": 109.3
  },
  "luminance": 0.36667
}

Semantic roles & 50–950 ramp

primary
#A8A83D
secondary
#8181BF
accent
#51D651
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A83D

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

Preview Lab → · Contrast checker → · Palette generator →

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