#A4A827#A4A827

#A4A827 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.143 H 111.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A4A827
RGBrgb(164, 168, 39)
HSLhsl(62, 62%, 41%)
HSVhsv(62, 77%, 66%)
CMYKcmyk(2.4%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.55, -16.62, 61.04)
CIE-LCHlch(66.55, 63.26, 105.23°)
OKLaboklab(70.6% -0.0523 0.1336)
OKLCHoklch(70.6% 0.143 111.4)
XYZxyz(29.6797, 36.0450, 7.3130)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A827 #2B27A8
analogous
#A86B27 #A4A827 #64A827
triadic
#A4A827 #27A4A8 #A827A4
tetradic
#A4A827 #27A86B #2B27A8 #A82764
square
#A4A827 #27A86B #2B27A8 #A82764
split-complementary
#A4A827 #2764A8 #6B27A8
monochromatic
#434510 #74761B #A4A827 #CDD13B #D9DD6C

Accessibility & contrast

On white

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

On black

8.21
#A4A827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A827
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A827#FFFFFF#000000##000000
##A4A8271.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a4a827;
/* rgb */ color: rgb(164, 168, 39);
/* oklch */ color: oklch(70.6% 0.143 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c16c',
    500: '#a4a827',
    950: '#000000',
  },
}
SCSS
$custom: #a4a827;
$custom-light: #c3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a827",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 61.86,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70598,
    "c": 0.14343,
    "h": 111.4
  },
  "luminance": 0.36044
}

Semantic roles & 50–950 ramp

primary
#A4A827
secondary
#6A67C3
accent
#42E547
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A827

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

Preview Lab → · Contrast checker → · Palette generator →

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