#A6AE34#A6AE34

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

Color values

HEX#A6AE34
RGBrgb(166, 174, 52)
HSLhsl(64, 54%, 44%)
HSVhsv(64, 70%, 68%)
CMYKcmyk(4.6%, 0%, 70.1%, 31.8%)
CIE-LABlab(68.48, -18.19, 58.39)
CIE-LCHlch(68.48, 61.16, 107.30°)
OKLaboklab(72.2% -0.0556 0.1302)
OKLCHoklch(72.2% 0.142 113.1)
XYZxyz(31.4827, 38.6277, 9.0456)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE34 #3C34AE
analogous
#AE7934 #A6AE34 #69AE34
triadic
#A6AE34 #34A6AE #AE34A6
tetradic
#A6AE34 #34AE79 #3C34AE #AE3469
square
#A6AE34 #34AE79 #3C34AE #AE3469
split-complementary
#A6AE34 #3469AE #7934AE
monochromatic
#4C5018 #797F26 #A6AE34 #C4CC53 #D4DA83

Accessibility & contrast

On white

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

On black

8.73
#A6AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE34
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE34#FFFFFF#000000##000000
##A6AE341.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA620
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#B1A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae34;
/* rgb */ color: rgb(166, 174, 52);
/* oklch */ color: oklch(72.2% 0.142 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c673',
    500: '#a6ae34',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae34;
$custom-light: #c4c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae34",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 63.934,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72203,
    "c": 0.14158,
    "h": 113.1
  },
  "luminance": 0.38627
}

Semantic roles & 50–950 ramp

primary
#A6AE34
secondary
#7F7BC3
accent
#4ADD54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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