#A2A834#A2A834

#A2A834 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.136 H 112.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A2A834
RGBrgb(162, 168, 52)
HSLhsl(63, 53%, 43%)
HSVhsv(63, 69%, 66%)
CMYKcmyk(3.6%, 0%, 69%, 34.1%)
CIE-LABlab(66.47, -16.86, 56.28)
CIE-LCHlch(66.47, 58.75, 106.67°)
OKLaboklab(70.52% -0.0516 0.1259)
OKLCHoklch(70.52% 0.136 112.3)
XYZxyz(29.5236, 35.9353, 8.6291)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A834 #3A34A8
analogous
#A87434 #A2A834 #68A834
triadic
#A2A834 #34A2A8 #A834A2
tetradic
#A2A834 #34A874 #3A34A8 #A83468
square
#A2A834 #34A874 #3A34A8 #A83468
split-complementary
#A2A834 #3468A8 #7434A8
monochromatic
#484B17 #757926 #A2A834 #C3C950 #D3D77F

Accessibility & contrast

On white

2.57
#A2A834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A2A834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A834
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A834#FFFFFF#000000##000000
##A2A8341.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A022
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a834;
/* rgb */ color: rgb(162, 168, 52);
/* oklch */ color: oklch(70.5% 0.136 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c173',
    500: '#a2a834',
    950: '#000000',
  },
}
SCSS
$custom: #a2a834;
$custom-light: #c1c173;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a834",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 63.103,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70516,
    "c": 0.13606,
    "h": 112.3
  },
  "luminance": 0.35935
}

Semantic roles & 50–950 ramp

primary
#A2A834
secondary
#7B77C0
accent
#4CDC53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A834

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

Preview Lab → · Contrast checker → · Palette generator →

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