#A6AF33#A6AF33

#A6AF33 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.143 H 113.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A6AF33
RGBrgb(166, 175, 51)
HSLhsl(64, 55%, 44%)
HSVhsv(64, 71%, 69%)
CMYKcmyk(5.1%, 0%, 70.9%, 31.4%)
CIE-LABlab(68.76, -18.75, 59.03)
CIE-LCHlch(68.76, 61.94, 107.62°)
OKLaboklab(72.42% -0.0573 0.1314)
OKLCHoklch(72.42% 0.143 113.6)
XYZxyz(31.6543, 39.0066, 8.9929)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AF33 #3C33AF
analogous
#AF7A33 #A6AF33 #68AF33
triadic
#A6AF33 #33A6AF #AF33A6
tetradic
#A6AF33 #33AF7A #3C33AF #AF3368
square
#A6AF33 #33AF7A #3C33AF #AF3368
split-complementary
#A6AF33 #3368AF #7A33AF
monochromatic
#4C5017 #798025 #A6AF33 #C4CD52 #D4DB82

Accessibility & contrast

On white

2.39
#A6AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A6AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AF33
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AF33#FFFFFF#000000##000000
##A6AF331.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6af33;
/* rgb */ color: rgb(166, 175, 51);
/* oklch */ color: oklch(72.4% 0.143 113.6);
Tailwind
colors: {
  custom: {
    50: '#c4c673',
    500: '#a6af33',
    950: '#000000',
  },
}
SCSS
$custom: #a6af33;
$custom-light: #c4c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a6af33",
  "rgb": {
    "r": 166,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 64.355,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.14332,
    "h": 113.6
  },
  "luminance": 0.39006
}

Semantic roles & 50–950 ramp

primary
#A6AF33
secondary
#7F7AC4
accent
#4ADE54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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