#A6BD31#A6BD31

#A6BD31 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.160 H 118.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#A6BD31
RGBrgb(166, 189, 49)
HSLhsl(70, 59%, 47%)
HSVhsv(70, 74%, 74%)
CMYKcmyk(12.2%, 0%, 74.1%, 25.9%)
CIE-LABlab(72.71, -25.78, 63.56)
CIE-LCHlch(72.71, 68.59, 112.08°)
OKLaboklab(75.59% -0.0769 0.1406)
OKLCHoklch(75.59% 0.16 118.7)
XYZxyz(34.4786, 44.7242, 9.7214)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BD31 #4831BD
analogous
#BD8E31 #A6BD31 #60BD31
triadic
#A6BD31 #31A6BD #BD31A6
tetradic
#A6BD31 #31BD8E #4831BD #BD3160
square
#A6BD31 #31BD8E #4831BD #BD3160
split-complementary
#A6BD31 #3160BD #8E31BD
monochromatic
#515C18 #7B8C24 #A6BD31 #BFD458 #D2E088

Accessibility & contrast

On white

2.11
#A6BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#A6BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BD31
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BD31#FFFFFF#000000##000000
##A6BD311.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB213
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#B0B3A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bd31;
/* rgb */ color: rgb(166, 189, 49);
/* oklch */ color: oklch(75.6% 0.160 118.7);
Tailwind
colors: {
  custom: {
    50: '#c4d074',
    500: '#a6bd31',
    950: '#000000',
  },
}
SCSS
$custom: #a6bd31;
$custom-light: #c4d074;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bd31",
  "rgb": {
    "r": 166,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 69.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75593,
    "c": 0.16025,
    "h": 118.7
  },
  "luminance": 0.44724
}

Semantic roles & 50–950 ramp

primary
#A6BD31
secondary
#8C80CA
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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