#A6AE25#A6AE25

#A6AE25 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.150 H 113.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#A6AE25
RGBrgb(166, 174, 37)
HSLhsl(64, 65%, 41%)
HSVhsv(64, 79%, 68%)
CMYKcmyk(4.6%, 0%, 78.7%, 31.8%)
CIE-LABlab(68.40, -18.88, 63.38)
CIE-LCHlch(68.40, 66.13, 106.59°)
OKLaboklab(72.11% -0.0589 0.1381)
OKLCHoklch(72.11% 0.15 113.1)
XYZxyz(31.1969, 38.5134, 7.5403)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE25 #2D25AE
analogous
#AE7225 #A6AE25 #62AE25
triadic
#A6AE25 #25A6AE #AE25A6
tetradic
#A6AE25 #25AE72 #2D25AE #AE2562
square
#A6AE25 #25AE72 #2D25AE #AE2562
split-complementary
#A6AE25 #2562AE #7225AE
monochromatic
#464910 #767C1A #A6AE25 #CCD53B #D9E06D

Accessibility & contrast

On white

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

On black

8.70
#A6AE25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AE25
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AE25#FFFFFF#000000##000000
##A6AE251.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BCA832
Tritanopia (blue-blind)
#B2A395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6ae25;
/* rgb */ color: rgb(166, 174, 37);
/* oklch */ color: oklch(72.1% 0.150 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c66c',
    500: '#a6ae25',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae25;
$custom-light: #c4c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae25",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 37
  },
  "hsl": {
    "h": 63.504,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7211,
    "c": 0.15013,
    "h": 113.1
  },
  "luminance": 0.38513
}

Semantic roles & 50–950 ramp

primary
#A6AE25
secondary
#6E68C6
accent
#40E84A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AE25

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

Preview Lab → · Contrast checker → · Palette generator →

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