#A6B151#A6B151

#A6B151 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.2% C 0.122 H 114.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A6B151
RGBrgb(166, 177, 81)
HSLhsl(67, 38%, 51%)
HSVhsv(67, 54%, 69%)
CMYKcmyk(6.2%, 0%, 54.2%, 30.6%)
CIE-LABlab(69.57, -17.66, 47.09)
CIE-LCHlch(69.57, 50.29, 110.56°)
OKLaboklab(73.16% -0.0511 0.1102)
OKLCHoklch(73.16% 0.122 114.9)
XYZxyz(32.9338, 40.1458, 13.7970)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B151 #5C51B1
analogous
#B18C51 #A6B151 #76B151
triadic
#A6B151 #51A6B1 #B151A6
tetradic
#A6B151 #51B18C #5C51B1 #B15176
square
#A6B151 #51B18C #5C51B1 #B15176
split-complementary
#A6B151 #5176B1 #8C51B1
monochromatic
#585E2A #7F883D #A6B151 #BCC47B #D1D7A6

Accessibility & contrast

On white

2.33
#A6B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#A6B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B151
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B151#FFFFFF#000000##000000
##A6B1511.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA948
Deuteranopia (green-blind)
#BBAB56
Tritanopia (blue-blind)
#AFA89C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b151;
/* rgb */ color: rgb(166, 177, 81);
/* oklch */ color: oklch(73.2% 0.122 114.9);
Tailwind
colors: {
  custom: {
    50: '#c2c885',
    500: '#a6b151',
    950: '#000000',
  },
}
SCSS
$custom: #a6b151;
$custom-light: #c2c885;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b151",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 66.875,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.12151,
    "h": 114.9
  },
  "luminance": 0.40145
}

Semantic roles & 50–950 ramp

primary
#A6B151
secondary
#9E9AC4
accent
#5ACE67
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A6B151

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

Preview Lab → · Contrast checker → · Palette generator →

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