#A2B534#A2B534

#A2B534 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.5% C 0.151 H 117.6°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#A2B534
RGBrgb(162, 181, 52)
HSLhsl(69, 55%, 46%)
HSVhsv(69, 71%, 71%)
CMYKcmyk(10.5%, 0%, 71.3%, 29%)
CIE-LABlab(70.16, -23.38, 59.94)
CIE-LCHlch(70.16, 64.34, 111.31°)
OKLaboklab(73.47% -0.0698 0.1336)
OKLCHoklch(73.47% 0.151 117.6)
XYZxyz(32.0447, 40.9774, 9.4695)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B534 #4734B5
analogous
#B58734 #A2B534 #61B534
triadic
#A2B534 #34A2B5 #B534A2
tetradic
#A2B534 #34B587 #4734B5 #B53461
square
#A2B534 #34B587 #4734B5 #B53461
split-complementary
#A2B534 #3461B5 #8734B5
monochromatic
#4D5619 #778526 #A2B534 #BDCF57 #D0DC87

Accessibility & contrast

On white

2.28
#A2B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#A2B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B534
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B534#FFFFFF#000000##000000
##A2B5341.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1D
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b534;
/* rgb */ color: rgb(162, 181, 52);
/* oklch */ color: oklch(73.5% 0.151 117.6);
Tailwind
colors: {
  custom: {
    50: '#c1cb74',
    500: '#a2b534',
    950: '#000000',
  },
}
SCSS
$custom: #a2b534;
$custom-light: #c1cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b534",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 68.837,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73475,
    "c": 0.15073,
    "h": 117.6
  },
  "luminance": 0.40977
}

Semantic roles & 50–950 ramp

primary
#A2B534
secondary
#897FC6
accent
#49DF5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B534

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

Preview Lab → · Contrast checker → · Palette generator →

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