#A2B054#A2B054

#A2B054 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.118 H 116.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#A2B054
RGBrgb(162, 176, 84)
HSLhsl(69, 37%, 51%)
HSVhsv(69, 52%, 69%)
CMYKcmyk(8%, 0%, 52.3%, 31%)
CIE-LABlab(69.02, -18.54, 44.93)
CIE-LCHlch(69.02, 48.60, 112.42°)
OKLaboklab(72.65% -0.0531 0.1059)
OKLCHoklch(72.65% 0.118 116.6)
XYZxyz(32.0263, 39.3725, 14.2983)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B054 #6254B0
analogous
#B09054 #A2B054 #74B054
triadic
#A2B054 #54A2B0 #B054A2
tetradic
#A2B054 #54B090 #6254B0 #B05474
square
#A2B054 #54B090 #6254B0 #B05474
split-complementary
#A2B054 #5474B0 #9054B0
monochromatic
#565E2B #7D883F #A2B054 #B9C37E #D0D7A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B054#FFFFFF#000000##000000
##A2B0541.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)
#BAA84B
Deuteranopia (green-blind)
#B9A959
Tritanopia (blue-blind)
#AAA79B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b054;
/* rgb */ color: rgb(162, 176, 84);
/* oklch */ color: oklch(72.7% 0.118 116.6);
Tailwind
colors: {
  custom: {
    50: '#bfc787',
    500: '#a2b054',
    950: '#000000',
  },
}
SCSS
$custom: #a2b054;
$custom-light: #bfc787;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b054",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 84
  },
  "hsl": {
    "h": 69.13,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7265,
    "c": 0.11847,
    "h": 116.6
  },
  "luminance": 0.39372
}

Semantic roles & 50–950 ramp

primary
#A2B054
secondary
#A29CC4
accent
#5BCD6C
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B054

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

Preview Lab → · Contrast checker → · Palette generator →

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