#A6B531#A6B531

#A6B531 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.151 H 115.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A6B531
RGBrgb(166, 181, 49)
HSLhsl(67, 57%, 45%)
HSVhsv(67, 73%, 71%)
CMYKcmyk(8.3%, 0%, 72.9%, 29%)
CIE-LABlab(70.44, -21.85, 61.39)
CIE-LCHlch(70.44, 65.16, 109.60°)
OKLaboklab(73.77% -0.0661 0.136)
OKLCHoklch(73.77% 0.151 115.9)
XYZxyz(32.8050, 41.3770, 9.1636)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B531 #4031B5
analogous
#B58231 #A6B531 #64B531
triadic
#A6B531 #31A6B5 #B531A6
tetradic
#A6B531 #31B582 #4031B5 #B53164
square
#A6B531 #31B582 #4031B5 #B53164
split-complementary
#A6B531 #3164B5 #8231B5
monochromatic
#4E5517 #7A8524 #A6B531 #C2D053 #D3DD83

Accessibility & contrast

On white

2.26
#A6B531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A6B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B531
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B531#FFFFFF#000000##000000
##A6B5311.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C1AD3C
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b531;
/* rgb */ color: rgb(166, 181, 49);
/* oklch */ color: oklch(73.8% 0.151 115.9);
Tailwind
colors: {
  custom: {
    50: '#c4cb73',
    500: '#a6b531',
    950: '#000000',
  },
}
SCSS
$custom: #a6b531;
$custom-light: #c4cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b531",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 66.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73768,
    "c": 0.15121,
    "h": 115.9
  },
  "luminance": 0.41376
}

Semantic roles & 50–950 ramp

primary
#A6B531
secondary
#847BC7
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B531

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

Preview Lab → · Contrast checker → · Palette generator →

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