#A2A42D#A2A42D

#A2A42D is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.136 H 110.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A2A42D
RGBrgb(162, 164, 45)
HSLhsl(61, 57%, 41%)
HSVhsv(61, 73%, 64%)
CMYKcmyk(1.2%, 0%, 72.6%, 35.7%)
CIE-LABlab(65.30, -15.17, 57.76)
CIE-LCHlch(65.30, 59.72, 104.71°)
OKLaboklab(69.56% -0.0476 0.1278)
OKLCHoklch(69.56% 0.136 110.4)
XYZxyz(28.6504, 34.4226, 7.6171)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A42D #2F2DA4
analogous
#A46A2D #A2A42D #66A42D
triadic
#A2A42D #2DA2A4 #A42DA2
tetradic
#A2A42D #2DA46A #2F2DA4 #A42D66
square
#A2A42D #2DA46A #2F2DA4 #A42D66
split-complementary
#A2A42D #2D66A4 #6A2DA4
monochromatic
#434413 #737420 #A2A42D #C9CB43 #D7D973

Accessibility & contrast

On white

2.66
#A2A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A2A42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A42D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A42D#FFFFFF#000000##000000
##A2A42D1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D17
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a42d;
/* rgb */ color: rgb(162, 164, 45);
/* oklch */ color: oklch(69.6% 0.136 110.4);
Tailwind
colors: {
  custom: {
    50: '#c1be6f',
    500: '#a2a42d',
    950: '#000000',
  },
}
SCSS
$custom: #a2a42d;
$custom-light: #c1be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a42d",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 61.008,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.13636,
    "h": 110.4
  },
  "luminance": 0.34422
}

Semantic roles & 50–950 ramp

primary
#A2A42D
secondary
#6E6DC0
accent
#48E04A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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