#A3A827#A3A827

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

Color values

HEX#A3A827
RGBrgb(163, 168, 39)
HSLhsl(62, 62%, 41%)
HSVhsv(62, 77%, 66%)
CMYKcmyk(3%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.47, -17.06, 60.93)
CIE-LCHlch(66.47, 63.28, 105.64°)
OKLaboklab(70.51% -0.0535 0.1334)
OKLCHoklch(70.51% 0.144 111.9)
XYZxyz(29.4741, 35.9390, 7.3034)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A827 #2C27A8
analogous
#A86D27 #A3A827 #62A827
triadic
#A3A827 #27A3A8 #A827A3
tetradic
#A3A827 #27A86D #2C27A8 #A82762
square
#A3A827 #27A86D #2C27A8 #A82762
split-complementary
#A3A827 #2762A8 #6D27A8
monochromatic
#434510 #73761B #A3A827 #CCD13B #D9DD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3A827#FFFFFF#000000##000000
##A3A8271.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)
#B5A004
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#AF9D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a3a827;
/* rgb */ color: rgb(163, 168, 39);
/* oklch */ color: oklch(70.5% 0.144 111.9);
Tailwind
colors: {
  custom: {
    50: '#c2c16c',
    500: '#a3a827',
    950: '#000000',
  },
}
SCSS
$custom: #a3a827;
$custom-light: #c2c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a827",
  "rgb": {
    "r": 163,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 62.326,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70513,
    "c": 0.14369,
    "h": 111.9
  },
  "luminance": 0.35938
}

Semantic roles & 50–950 ramp

primary
#A3A827
secondary
#6B67C3
accent
#42E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A3A827

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

Preview Lab → · Contrast checker → · Palette generator →

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