#A2A23D#A2A23D

#A2A23D is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.123 H 109.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A2A23D
RGBrgb(162, 162, 61)
HSLhsl(60, 45%, 44%)
HSVhsv(60, 62%, 64%)
CMYKcmyk(0%, 0%, 62.3%, 36.5%)
CIE-LABlab(64.85, -13.20, 50.88)
CIE-LCHlch(64.85, 52.56, 104.54°)
OKLaboklab(69.24% -0.0404 0.1159)
OKLCHoklch(69.24% 0.123 109.2)
XYZxyz(28.6638, 33.8598, 9.4396)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A23D #3D3DA2
analogous
#A26F3D #A2A23D #6FA23D
triadic
#A2A23D #3DA2A2 #A23DA2
tetradic
#A2A23D #3DA26F #3D3DA2 #A23D6F
square
#A2A23D #3DA26F #3D3DA2 #A23D6F
split-complementary
#A2A23D #3D6FA2 #6F3DA2
monochromatic
#49491C #76762C #A2A23D #C1C15B #D2D287

Accessibility & contrast

On white

2.70
#A2A23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A2A23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A23D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A23D#FFFFFF#000000##000000
##A2A23D1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B31
Deuteranopia (green-blind)
#B09F43
Tritanopia (blue-blind)
#AD988D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a23d;
/* rgb */ color: rgb(162, 162, 61);
/* oklch */ color: oklch(69.2% 0.123 109.2);
Tailwind
colors: {
  custom: {
    50: '#c0bd77',
    500: '#a2a23d',
    950: '#000000',
  },
}
SCSS
$custom: #a2a23d;
$custom-light: #c0bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a23d",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69244,
    "c": 0.12275,
    "h": 109.2
  },
  "luminance": 0.33859
}

Semantic roles & 50–950 ramp

primary
#A2A23D
secondary
#7E7EBC
accent
#53D553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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