#A4A830#A4A830

#A4A830 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.138 H 111.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A4A830
RGBrgb(164, 168, 48)
HSLhsl(62, 56%, 42%)
HSVhsv(62, 71%, 66%)
CMYKcmyk(2.4%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.61, -16.21, 57.98)
CIE-LCHlch(66.61, 60.21, 105.61°)
OKLaboklab(70.66% -0.0503 0.1287)
OKLCHoklch(70.66% 0.138 111.4)
XYZxyz(29.8469, 36.1119, 8.1938)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A830 #3430A8
analogous
#A87030 #A4A830 #68A830
triadic
#A4A830 #30A4A8 #A830A4
tetradic
#A4A830 #30A870 #3430A8 #A83068
square
#A4A830 #30A870 #3430A8 #A83068
split-complementary
#A4A830 #3068A8 #7030A8
monochromatic
#474915 #767822 #A4A830 #C7CB4A #D6D97A

Accessibility & contrast

On white

2.55
#A4A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A4A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A830
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A830#FFFFFF#000000##000000
##A4A8301.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#AF9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a4a830;
/* rgb */ color: rgb(164, 168, 48);
/* oklch */ color: oklch(70.7% 0.138 111.4);
Tailwind
colors: {
  custom: {
    50: '#c2c171',
    500: '#a4a830',
    950: '#000000',
  },
}
SCSS
$custom: #a4a830;
$custom-light: #c2c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a830",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 62,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.13821,
    "h": 111.4
  },
  "luminance": 0.36111
}

Semantic roles & 50–950 ramp

primary
#A4A830
secondary
#7573C1
accent
#49DF4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A830

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

Preview Lab → · Contrast checker → · Palette generator →

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