#A6B031#A6B031

#A6B031 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.146 H 114.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A6B031
RGBrgb(166, 176, 49)
HSLhsl(65, 56%, 44%)
HSVhsv(65, 72%, 69%)
CMYKcmyk(5.7%, 0%, 72.2%, 31%)
CIE-LABlab(69.03, -19.36, 60.02)
CIE-LCHlch(69.03, 63.07, 107.87°)
OKLaboklab(72.63% -0.0591 0.1331)
OKLCHoklch(72.63% 0.146 114)
XYZxyz(31.8065, 39.3800, 8.8307)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B031 #3B31B0
analogous
#B07B31 #A6B031 #67B031
triadic
#A6B031 #31A6B0 #B031A6
tetradic
#A6B031 #31B07B #3B31B0 #B03167
square
#A6B031 #31B07B #3B31B0 #B03167
split-complementary
#A6B031 #3167B0 #7B31B0
monochromatic
#4C5016 #798024 #A6B031 #C4CE50 #D4DC80

Accessibility & contrast

On white

2.37
#A6B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A6B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B031
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B031#FFFFFF#000000##000000
##A6B0311.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B1A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6b031;
/* rgb */ color: rgb(166, 176, 49);
/* oklch */ color: oklch(72.6% 0.146 114.0);
Tailwind
colors: {
  custom: {
    50: '#c4c772',
    500: '#a6b031',
    950: '#000000',
  },
}
SCSS
$custom: #a6b031;
$custom-light: #c4c772;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b031",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 64.724,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.14568,
    "h": 114
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

primary
#A6B031
secondary
#7E78C5
accent
#48E054
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B031

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

Preview Lab → · Contrast checker → · Palette generator →

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