#A6B131#A6B131

#A6B131 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.147 H 114.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A6B131
RGBrgb(166, 177, 49)
HSLhsl(65, 57%, 44%)
HSVhsv(65, 72%, 69%)
CMYKcmyk(6.2%, 0%, 72.3%, 30.6%)
CIE-LABlab(69.31, -19.86, 60.30)
CIE-LCHlch(69.31, 63.48, 108.23°)
OKLaboklab(72.86% -0.0605 0.1337)
OKLCHoklch(72.86% 0.147 114.4)
XYZxyz(32.0033, 39.7736, 8.8963)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B131 #3C31B1
analogous
#B17C31 #A6B131 #66B131
triadic
#A6B131 #31A6B1 #B131A6
tetradic
#A6B131 #31B17C #3C31B1 #B13166
square
#A6B131 #31B17C #3C31B1 #B13166
split-complementary
#A6B131 #3166B1 #7C31B1
monochromatic
#4C5116 #798124 #A6B131 #C4CF51 #D4DC80

Accessibility & contrast

On white

2.35
#A6B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A6B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B131
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B131#FFFFFF#000000##000000
##A6B1311.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B1A698
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a6b131;
/* rgb */ color: rgb(166, 177, 49);
/* oklch */ color: oklch(72.9% 0.147 114.4);
Tailwind
colors: {
  custom: {
    50: '#c4c872',
    500: '#a6b131',
    950: '#000000',
  },
}
SCSS
$custom: #a6b131;
$custom-light: #c4c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b131",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 65.156,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.14678,
    "h": 114.4
  },
  "luminance": 0.39773
}

Semantic roles & 50–950 ramp

primary
#A6B131
secondary
#7F79C5
accent
#48E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B131

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

Preview Lab → · Contrast checker → · Palette generator →

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