#A2B052#A2B052

#A2B052 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.120 H 116.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#A2B052
RGBrgb(162, 176, 82)
HSLhsl(69, 37%, 51%)
HSVhsv(69, 53%, 69%)
CMYKcmyk(8%, 0%, 53.4%, 31%)
CIE-LABlab(69.00, -18.72, 45.86)
CIE-LCHlch(69.00, 49.54, 112.20°)
OKLaboklab(72.63% -0.0538 0.1078)
OKLCHoklch(72.63% 0.12 116.5)
XYZxyz(31.9491, 39.3416, 13.8916)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B052 #6052B0
analogous
#B08F52 #A2B052 #73B052
triadic
#A2B052 #52A2B0 #B052A2
tetradic
#A2B052 #52B08F #6052B0 #B05273
square
#A2B052 #52B08F #6052B0 #B05273
split-complementary
#A2B052 #5273B0 #8F52B0
monochromatic
#565D2B #7C873E #A2B052 #B9C37C #CFD6A6

Accessibility & contrast

On white

2.37
#A2B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#A2B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B052
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B052#FFFFFF#000000##000000
##A2B0521.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA849
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#ABA79B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b052;
/* rgb */ color: rgb(162, 176, 82);
/* oklch */ color: oklch(72.6% 0.120 116.5);
Tailwind
colors: {
  custom: {
    50: '#bfc785',
    500: '#a2b052',
    950: '#000000',
  },
}
SCSS
$custom: #a2b052;
$custom-light: #bfc785;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b052",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 68.936,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72625,
    "c": 0.12043,
    "h": 116.5
  },
  "luminance": 0.39341
}

Semantic roles & 50–950 ramp

primary
#A2B052
secondary
#A09AC4
accent
#5BCD6C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B052

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

Preview Lab → · Contrast checker → · Palette generator →

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