#A2A855#A2A855

#A2A855 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.107 H 112.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A2A855
RGBrgb(162, 168, 85)
HSLhsl(64, 33%, 50%)
HSVhsv(64, 49%, 66%)
CMYKcmyk(3.6%, 0%, 49.4%, 34.1%)
CIE-LABlab(66.78, -14.34, 41.78)
CIE-LCHlch(66.78, 44.18, 108.94°)
OKLaboklab(70.86% -0.0411 0.0992)
OKLCHoklch(70.86% 0.107 112.5)
XYZxyz(30.5432, 36.3431, 13.9985)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A855 #5B55A8
analogous
#A88455 #A2A855 #79A855
triadic
#A2A855 #55A2A8 #A855A2
tetradic
#A2A855 #55A884 #5B55A8 #A85579
square
#A2A855 #55A884 #5B55A8 #A85579
split-complementary
#A2A855 #5579A8 #8455A8
monochromatic
#54572C #7B7F40 #A2A855 #B9BD7D #CFD2A6

Accessibility & contrast

On white

2.54
#A2A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A2A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A855
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A855#FFFFFF#000000##000000
##A2A8551.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A14E
Deuteranopia (green-blind)
#B3A459
Tritanopia (blue-blind)
#ABA095
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a855;
/* rgb */ color: rgb(162, 168, 85);
/* oklch */ color: oklch(70.9% 0.107 112.5);
Tailwind
colors: {
  custom: {
    50: '#bfc187',
    500: '#a2a855',
    950: '#000000',
  },
}
SCSS
$custom: #a2a855;
$custom-light: #bfc187;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a855",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 64.337,
    "s": 32.806,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70864,
    "c": 0.10732,
    "h": 112.5
  },
  "luminance": 0.36343
}

Semantic roles & 50–950 ramp

primary
#A2A855
secondary
#9C99BF
accent
#5FC967
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A855

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

Preview Lab → · Contrast checker → · Palette generator →

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