#A2B536#A2B536

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

Color values

HEX#A2B536
RGBrgb(162, 181, 54)
HSLhsl(69, 54%, 46%)
HSVhsv(69, 70%, 71%)
CMYKcmyk(10.5%, 0%, 70.2%, 29%)
CIE-LABlab(70.17, -23.27, 59.21)
CIE-LCHlch(70.17, 63.62, 111.46°)
OKLaboklab(73.49% -0.0693 0.1324)
OKLCHoklch(73.49% 0.149 117.6)
XYZxyz(32.0907, 40.9958, 9.7118)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B536 #4936B5
analogous
#B58836 #A2B536 #62B536
triadic
#A2B536 #36A2B5 #B536A2
tetradic
#A2B536 #36B588 #4936B5 #B53662
square
#A2B536 #36B588 #4936B5 #B53662
split-complementary
#A2B536 #3662B5 #8836B5
monochromatic
#4E571A #788628 #A2B536 #BDCE5A #D0DC89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B536#FFFFFF#000000##000000
##A2B5361.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)
#C1AB21
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#ACAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b536;
/* rgb */ color: rgb(162, 181, 54);
/* oklch */ color: oklch(73.5% 0.149 117.6);
Tailwind
colors: {
  custom: {
    50: '#c1cb75',
    500: '#a2b536',
    950: '#000000',
  },
}
SCSS
$custom: #a2b536;
$custom-light: #c1cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b536",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 68.976,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73489,
    "c": 0.14944,
    "h": 117.6
  },
  "luminance": 0.40995
}

Semantic roles & 50–950 ramp

primary
#A2B536
secondary
#8B81C6
accent
#4ADD60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B536

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

Preview Lab → · Contrast checker → · Palette generator →

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