#A6B931#A6B931

#A6B931 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.7% C 0.156 H 117.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#A6B931
RGBrgb(166, 185, 49)
HSLhsl(68, 58%, 46%)
HSVhsv(68, 74%, 73%)
CMYKcmyk(10.3%, 0%, 73.5%, 27.5%)
CIE-LABlab(71.57, -23.83, 62.47)
CIE-LCHlch(71.57, 66.86, 110.88°)
OKLaboklab(74.68% -0.0715 0.1383)
OKLCHoklch(74.68% 0.156 117.4)
XYZxyz(33.6300, 43.0270, 9.4386)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B931 #4431B9
analogous
#B98831 #A6B931 #62B931
triadic
#A6B931 #31A6B9 #B931A6
tetradic
#A6B931 #31B988 #4431B9 #B93162
square
#A6B931 #31B988 #4431B9 #B93162
split-complementary
#A6B931 #3162B9 #8831B9
monochromatic
#4F5817 #7B8924 #A6B931 #C1D255 #D2DF86

Accessibility & contrast

On white

2.19
#A6B931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#A6B931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B931
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B931#FFFFFF#000000##000000
##A6B9311.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a6b931;
/* rgb */ color: rgb(166, 185, 49);
/* oklch */ color: oklch(74.7% 0.156 117.4);
Tailwind
colors: {
  custom: {
    50: '#c4ce73',
    500: '#a6b931',
    950: '#000000',
  },
}
SCSS
$custom: #a6b931;
$custom-light: #c4ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b931",
  "rgb": {
    "r": 166,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 68.382,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74679,
    "c": 0.15571,
    "h": 117.4
  },
  "luminance": 0.43027
}

Semantic roles & 50–950 ramp

primary
#A6B931
secondary
#887DC8
accent
#46E15C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B931

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

Preview Lab → · Contrast checker → · Palette generator →

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