#A2A623#A2A623

#A2A623 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.144 H 111.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A2A623
RGBrgb(162, 166, 35)
HSLhsl(62, 65%, 39%)
HSVhsv(62, 79%, 65%)
CMYKcmyk(2.4%, 0%, 78.9%, 34.9%)
CIE-LABlab(65.81, -16.63, 61.54)
CIE-LCHlch(65.81, 63.75, 105.12°)
OKLaboklab(69.95% -0.0526 0.134)
OKLCHoklch(69.95% 0.144 111.4)
XYZxyz(28.8409, 35.0759, 6.8409)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A623 #2723A6
analogous
#A66923 #A2A623 #61A623
triadic
#A2A623 #23A2A6 #A623A2
tetradic
#A2A623 #23A669 #2723A6 #A62361
square
#A2A623 #23A669 #2723A6 #A62361
split-complementary
#A2A623 #2361A6 #6923A6
monochromatic
#3F410E #717318 #A2A623 #CFD432 #DBDF65

Accessibility & contrast

On white

2.62
#A2A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A2A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A623
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A623#FFFFFF#000000##000000
##A2A6231.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#AE9B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a623;
/* rgb */ color: rgb(162, 166, 35);
/* oklch */ color: oklch(70.0% 0.144 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c06a',
    500: '#a2a623',
    950: '#000000',
  },
}
SCSS
$custom: #a2a623;
$custom-light: #c1c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a623",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 61.832,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69954,
    "c": 0.14391,
    "h": 111.4
  },
  "luminance": 0.35075
}

Semantic roles & 50–950 ramp

primary
#A2A623
secondary
#6461C4
accent
#40E845
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A623

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

Preview Lab → · Contrast checker → · Palette generator →

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