#A6AE3F#A6AE3F

#A6AE3F is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.3% C 0.134 H 113.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A6AE3F
RGBrgb(166, 174, 63)
HSLhsl(64, 47%, 46%)
HSVhsv(64, 64%, 68%)
CMYKcmyk(4.6%, 0%, 63.8%, 31.8%)
CIE-LABlab(68.56, -17.53, 54.06)
CIE-LCHlch(68.56, 56.83, 107.96°)
OKLaboklab(72.29% -0.0526 0.1228)
OKLCHoklch(72.29% 0.134 113.2)
XYZxyz(31.7600, 38.7386, 10.5059)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE3F #473FAE
analogous
#AE7F3F #A6AE3F #6FAE3F
triadic
#A6AE3F #3FA6AE #AE3FA6
tetradic
#A6AE3F #3FAE7F #473FAE #AE3F6F
square
#A6AE3F #3FAE7F #473FAE #AE3F6F
split-complementary
#A6AE3F #3F6FAE #7F3FAE
monochromatic
#50541E #7B812F #A6AE3F #C0C764 #D2D790

Accessibility & contrast

On white

2.40
#A6AE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#A6AE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE3F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE3F#FFFFFF#000000##000000
##A6AE3F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#B1A497
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae3f;
/* rgb */ color: rgb(166, 174, 63);
/* oklch */ color: oklch(72.3% 0.134 113.2);
Tailwind
colors: {
  custom: {
    50: '#c3c679',
    500: '#a6ae3f',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae3f;
$custom-light: #c3c679;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae3f",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 64.324,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72294,
    "c": 0.13363,
    "h": 113.2
  },
  "luminance": 0.38738
}

Semantic roles & 50–950 ramp

primary
#A6AE3F
secondary
#8B87C2
accent
#51D65B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A6AE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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