#A2A42F#A2A42F

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

Color values

HEX#A2A42F
RGBrgb(162, 164, 47)
HSLhsl(61, 55%, 41%)
HSVhsv(61, 71%, 64%)
CMYKcmyk(1.2%, 0%, 71.3%, 35.7%)
CIE-LABlab(65.31, -15.07, 57.04)
CIE-LCHlch(65.31, 58.99, 104.80°)
OKLaboklab(69.58% -0.0471 0.1266)
OKLCHoklch(69.58% 0.135 110.4)
XYZxyz(28.6898, 34.4383, 7.8247)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A42F #312FA4
analogous
#A46C2F #A2A42F #68A42F
triadic
#A2A42F #2FA2A4 #A42FA2
tetradic
#A2A42F #2FA46C #312FA4 #A42F68
square
#A2A42F #2FA46C #312FA4 #A42F68
split-complementary
#A2A42F #2F68A4 #6C2FA4
monochromatic
#444514 #737421 #A2A42F #C8CA46 #D6D876

Accessibility & contrast

On white

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

On black

7.89
#A2A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A42F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A42F#FFFFFF#000000##000000
##A2A42F1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a42f;
/* rgb */ color: rgb(162, 164, 47);
/* oklch */ color: oklch(69.6% 0.135 110.4);
Tailwind
colors: {
  custom: {
    50: '#c1be70',
    500: '#a2a42f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a42f;
$custom-light: #c1be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a42f",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 61.026,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69576,
    "c": 0.1351,
    "h": 110.4
  },
  "luminance": 0.34438
}

Semantic roles & 50–950 ramp

primary
#A2A42F
secondary
#716FC0
accent
#49DF4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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