#A2A823#A2A823

#A2A823 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.146 H 112.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A2A823
RGBrgb(162, 168, 35)
HSLhsl(63, 66%, 40%)
HSVhsv(63, 79%, 66%)
CMYKcmyk(3.6%, 0%, 79.2%, 34.1%)
CIE-LABlab(66.37, -17.65, 62.04)
CIE-LCHlch(66.37, 64.51, 105.88°)
OKLaboklab(70.41% -0.0554 0.135)
OKLCHoklch(70.41% 0.146 112.3)
XYZxyz(29.2073, 35.8087, 6.9630)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A823 #2923A8
analogous
#A86C23 #A2A823 #5FA823
triadic
#A2A823 #23A2A8 #A823A2
tetradic
#A2A823 #23A86C #2923A8 #A8235F
square
#A2A823 #23A86C #2923A8 #A8235F
split-complementary
#A2A823 #235FA8 #6C23A8
monochromatic
#40430E #717518 #A2A823 #CDD534 #DADF66

Accessibility & contrast

On white

2.57
#A2A823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A2A823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A823
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A823#FFFFFF#000000##000000
##A2A8231.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#AE9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a823;
/* rgb */ color: rgb(162, 168, 35);
/* oklch */ color: oklch(70.4% 0.146 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16a',
    500: '#a2a823',
    950: '#000000',
  },
}
SCSS
$custom: #a2a823;
$custom-light: #c1c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a823",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 62.707,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70407,
    "c": 0.14596,
    "h": 112.3
  },
  "luminance": 0.35808
}

Semantic roles & 50–950 ramp

primary
#A2A823
secondary
#6762C5
accent
#3FE847
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A823

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

Preview Lab → · Contrast checker → · Palette generator →

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