#A2B535#A2B535

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

Color values

HEX#A2B535
RGBrgb(162, 181, 53)
HSLhsl(69, 55%, 46%)
HSVhsv(69, 71%, 71%)
CMYKcmyk(10.5%, 0%, 70.7%, 29%)
CIE-LABlab(70.17, -23.33, 59.58)
CIE-LCHlch(70.17, 63.98, 111.38°)
OKLaboklab(73.48% -0.0696 0.133)
OKLCHoklch(73.48% 0.15 117.6)
XYZxyz(32.0675, 40.9865, 9.5893)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B535 #4835B5
analogous
#B58835 #A2B535 #62B535
triadic
#A2B535 #35A2B5 #B535A2
tetradic
#A2B535 #35B588 #4835B5 #B53562
square
#A2B535 #35B588 #4835B5 #B53562
split-complementary
#A2B535 #3562B5 #8835B5
monochromatic
#4D5619 #788627 #A2B535 #BDCE59 #D0DC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B535#FFFFFF#000000##000000
##A2B5351.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)
#C1AB1F
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b535;
/* rgb */ color: rgb(162, 181, 53);
/* oklch */ color: oklch(73.5% 0.150 117.6);
Tailwind
colors: {
  custom: {
    50: '#c1cb75',
    500: '#a2b535',
    950: '#000000',
  },
}
SCSS
$custom: #a2b535;
$custom-light: #c1cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b535",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 68.906,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73482,
    "c": 0.15009,
    "h": 117.6
  },
  "luminance": 0.40986
}

Semantic roles & 50–950 ramp

primary
#A2B535
secondary
#8A80C6
accent
#4ADE60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B535

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

Preview Lab → · Contrast checker → · Palette generator →

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