#A6AE38#A6AE38

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

Color values

HEX#A6AE38
RGBrgb(166, 174, 56)
HSLhsl(64, 51%, 45%)
HSVhsv(64, 68%, 68%)
CMYKcmyk(4.6%, 0%, 67.8%, 31.8%)
CIE-LABlab(68.51, -17.96, 56.87)
CIE-LCHlch(68.51, 59.64, 107.53°)
OKLaboklab(72.23% -0.0546 0.1277)
OKLCHoklch(72.23% 0.139 113.1)
XYZxyz(31.5766, 38.6653, 9.5404)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AE38 #4038AE
analogous
#AE7B38 #A6AE38 #6BAE38
triadic
#A6AE38 #38A6AE #AE38A6
tetradic
#A6AE38 #38AE7B #4038AE #AE386B
square
#A6AE38 #38AE7B #4038AE #AE386B
split-complementary
#A6AE38 #386BAE #7B38AE
monochromatic
#4E511A #7A8029 #A6AE38 #C2CA59 #D3D988

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AE38#FFFFFF#000000##000000
##A6AE381.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6ae38;
/* rgb */ color: rgb(166, 174, 56);
/* oklch */ color: oklch(72.2% 0.139 113.1);
Tailwind
colors: {
  custom: {
    50: '#c3c676',
    500: '#a6ae38',
    950: '#000000',
  },
}
SCSS
$custom: #a6ae38;
$custom-light: #c3c676;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ae38",
  "rgb": {
    "r": 166,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 64.068,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72234,
    "c": 0.13885,
    "h": 113.1
  },
  "luminance": 0.38665
}

Semantic roles & 50–950 ramp

primary
#A6AE38
secondary
#847FC3
accent
#4DDB57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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