#A6A855#A6A855

#A6A855 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.107 H 110.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A6A855
RGBrgb(166, 168, 85)
HSLhsl(61, 33%, 50%)
HSVhsv(61, 49%, 66%)
CMYKcmyk(1.2%, 0%, 49.4%, 34.1%)
CIE-LABlab(67.10, -12.67, 42.25)
CIE-LCHlch(67.10, 44.11, 106.69°)
OKLaboklab(71.2% -0.0365 0.1001)
OKLCHoklch(71.2% 0.107 110.1)
XYZxyz(31.3689, 36.7688, 14.0372)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A855 #5755A8
analogous
#A88155 #A6A855 #7DA855
triadic
#A6A855 #55A6A8 #A855A6
tetradic
#A6A855 #55A881 #5755A8 #A8557D
square
#A6A855 #55A881 #5755A8 #A8557D
split-complementary
#A6A855 #557DA8 #8155A8
monochromatic
#56572C #7E7F40 #A6A855 #BCBD7D #D1D2A6

Accessibility & contrast

On white

2.51
#A6A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A6A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A855
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A855#FFFFFF#000000##000000
##A6A8551.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24E
Deuteranopia (green-blind)
#B4A559
Tritanopia (blue-blind)
#B09F95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a855;
/* rgb */ color: rgb(166, 168, 85);
/* oklch */ color: oklch(71.2% 0.107 110.1);
Tailwind
colors: {
  custom: {
    50: '#c2c187',
    500: '#a6a855',
    950: '#000000',
  },
}
SCSS
$custom: #a6a855;
$custom-light: #c2c187;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a855",
  "rgb": {
    "r": 166,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 61.446,
    "s": 32.806,
    "l": 49.608
  },
  "oklch": {
    "l": 0.712,
    "c": 0.10657,
    "h": 110.1
  },
  "luminance": 0.36768
}

Semantic roles & 50–950 ramp

primary
#A6A855
secondary
#9A99BF
accent
#5FC961
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6A855

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

Preview Lab → · Contrast checker → · Palette generator →

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