#A6AA38#A6AA38

#A6AA38 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.134 H 111.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A6AA38
RGBrgb(166, 170, 56)
HSLhsl(62, 50%, 44%)
HSVhsv(62, 67%, 67%)
CMYKcmyk(2.4%, 0%, 67.1%, 33.3%)
CIE-LABlab(67.38, -15.92, 55.73)
CIE-LCHlch(67.38, 57.96, 105.95°)
OKLaboklab(71.34% -0.0489 0.1253)
OKLCHoklch(71.34% 0.134 111.3)
XYZxyz(30.8154, 37.1427, 9.2866)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA38 #3C38AA
analogous
#AA7538 #A6AA38 #6DAA38
triadic
#A6AA38 #38A6AA #AA38A6
tetradic
#A6AA38 #38AA75 #3C38AA #AA386D
square
#A6AA38 #38AA75 #3C38AA #AA386D
split-complementary
#A6AA38 #386DAA #7538AA
monochromatic
#4C4E1A #797C29 #A6AA38 #C4C857 #D4D785

Accessibility & contrast

On white

2.49
#A6AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A6AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA38
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA38#FFFFFF#000000##000000
##A6AA381.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#B1A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa38;
/* rgb */ color: rgb(166, 170, 56);
/* oklch */ color: oklch(71.3% 0.134 111.3);
Tailwind
colors: {
  custom: {
    50: '#c3c375',
    500: '#a6aa38',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa38;
$custom-light: #c3c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa38",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 62.105,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71335,
    "c": 0.13446,
    "h": 111.3
  },
  "luminance": 0.37142
}

Semantic roles & 50–950 ramp

primary
#A6AA38
secondary
#7F7DC1
accent
#4EDA53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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