#A6AE2D#A6AE2D

#A6AE2D is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.146 H 113.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#A6AE2D
RGBrgb(166, 174, 45)
HSLhsl(64, 59%, 43%)
HSVhsv(64, 74%, 68%)
CMYKcmyk(4.6%, 0%, 74.1%, 31.8%)
CIE-LABlab(68.44, -18.54, 60.86)
CIE-LCHlch(68.44, 63.63, 106.94°)
OKLaboklab(72.16% -0.0572 0.1342)
OKLCHoklch(72.16% 0.146 113.1)
XYZxyz(31.3366, 38.5692, 8.2760)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE2D #352DAE
analogous
#AE752D #A6AE2D #65AE2D
triadic
#A6AE2D #2DA6AE #AE2DA6
tetradic
#A6AE2D #2DAE75 #352DAE #AE2D65
square
#A6AE2D #2DAE75 #352DAE #AE2D65
split-complementary
#A6AE2D #2D65AE #752DAE
monochromatic
#494D14 #787D20 #A6AE2D #C7D048 #D6DC79

Accessibility & contrast

On white

2.41
#A6AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#A6AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE2D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE2D#FFFFFF#000000##000000
##A6AE2D1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA611
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#B1A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae2d;
/* rgb */ color: rgb(166, 174, 45);
/* oklch */ color: oklch(72.2% 0.146 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c670',
    500: '#a6ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae2d;
$custom-light: #c4c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae2d",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 63.721,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72156,
    "c": 0.1459,
    "h": 113.1
  },
  "luminance": 0.38569
}

Semantic roles & 50–950 ramp

primary
#A6AE2D
secondary
#7772C4
accent
#46E24F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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