#A2A42B#A2A42B

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

Color values

HEX#A2A42B
RGBrgb(162, 164, 43)
HSLhsl(61, 58%, 41%)
HSVhsv(61, 74%, 64%)
CMYKcmyk(1.2%, 0%, 73.8%, 35.7%)
CIE-LABlab(65.28, -15.26, 58.46)
CIE-LCHlch(65.28, 60.42, 104.63°)
OKLaboklab(69.55% -0.0481 0.1289)
OKLCHoklch(69.55% 0.138 110.5)
XYZxyz(28.6128, 34.4075, 7.4191)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A42B #2D2BA4
analogous
#A4692B #A2A42B #65A42B
triadic
#A2A42B #2BA2A4 #A42BA2
tetradic
#A2A42B #2BA469 #2D2BA4 #A42B65
square
#A2A42B #2BA469 #2D2BA4 #A42B65
split-complementary
#A2A42B #2B65A4 #692BA4
monochromatic
#424312 #72741E #A2A42B #CACD3F #D8D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A42B#FFFFFF#000000##000000
##A2A42B1.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)
#B19D12
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#AE998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a42b;
/* rgb */ color: rgb(162, 164, 43);
/* oklch */ color: oklch(69.5% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#c1be6e',
    500: '#a2a42b',
    950: '#000000',
  },
}
SCSS
$custom: #a2a42b;
$custom-light: #c1be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a42b",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 60.992,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69549,
    "c": 0.13757,
    "h": 110.5
  },
  "luminance": 0.34407
}

Semantic roles & 50–950 ramp

primary
#A2A42B
secondary
#6C6AC1
accent
#46E249
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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