#A3A828#A3A828

#A3A828 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.143 H 111.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A3A828
RGBrgb(163, 168, 40)
HSLhsl(62, 62%, 41%)
HSVhsv(62, 76%, 66%)
CMYKcmyk(3%, 0%, 76.2%, 34.1%)
CIE-LABlab(66.48, -17.01, 60.62)
CIE-LCHlch(66.48, 62.96, 105.68°)
OKLaboklab(70.52% -0.0533 0.1329)
OKLCHoklch(70.52% 0.143 111.8)
XYZxyz(29.4909, 35.9457, 7.3918)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A828 #2D28A8
analogous
#A86D28 #A3A828 #63A828
triadic
#A3A828 #28A3A8 #A828A3
tetradic
#A3A828 #28A86D #2D28A8 #A82863
square
#A3A828 #28A86D #2D28A8 #A82863
split-complementary
#A3A828 #2863A8 #6D28A8
monochromatic
#434510 #73771C #A3A828 #CBD13D #D8DC6E

Accessibility & contrast

On white

2.56
#A3A828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A3A828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A828
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A828#FFFFFF#000000##000000
##A3A8281.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#AF9D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a3a828;
/* rgb */ color: rgb(163, 168, 40);
/* oklch */ color: oklch(70.5% 0.143 111.8);
Tailwind
colors: {
  custom: {
    50: '#c2c16d',
    500: '#a3a828',
    950: '#000000',
  },
}
SCSS
$custom: #a3a828;
$custom-light: #c2c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a828",
  "rgb": {
    "r": 163,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 62.344,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70519,
    "c": 0.14316,
    "h": 111.8
  },
  "luminance": 0.35945
}

Semantic roles & 50–950 ramp

primary
#A3A828
secondary
#6C69C3
accent
#43E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A3A828

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

Preview Lab → · Contrast checker → · Palette generator →

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