#A2A423#A2A423

#A2A423 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.142 H 110.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A2A423
RGBrgb(162, 164, 35)
HSLhsl(61, 65%, 39%)
HSVhsv(61, 79%, 64%)
CMYKcmyk(1.2%, 0%, 78.7%, 35.7%)
CIE-LABlab(65.24, -15.60, 61.03)
CIE-LCHlch(65.24, 63.00, 104.34°)
OKLaboklab(69.5% -0.0497 0.1329)
OKLCHoklch(69.5% 0.142 110.5)
XYZxyz(28.4802, 34.3545, 6.7206)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A423 #2523A4
analogous
#A46623 #A2A423 #62A423
triadic
#A2A423 #23A2A4 #A423A2
tetradic
#A2A423 #23A466 #2523A4 #A42362
square
#A2A423 #23A466 #2523A4 #A42362
split-complementary
#A2A423 #2362A4 #6623A4
monochromatic
#3E3F0D #707218 #A2A423 #D1D331 #DCDE64

Accessibility & contrast

On white

2.67
#A2A423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A2A423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A423
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A423#FFFFFF#000000##000000
##A2A4231.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D00
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#AE998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a423;
/* rgb */ color: rgb(162, 164, 35);
/* oklch */ color: oklch(69.5% 0.142 110.5);
Tailwind
colors: {
  custom: {
    50: '#c1be6a',
    500: '#a2a423',
    950: '#000000',
  },
}
SCSS
$custom: #a2a423;
$custom-light: #c1be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a423",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 60.93,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69502,
    "c": 0.14188,
    "h": 110.5
  },
  "luminance": 0.34354
}

Semantic roles & 50–950 ramp

primary
#A2A423
secondary
#6160C3
accent
#40E843
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A423

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

Preview Lab → · Contrast checker → · Palette generator →

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