#A6A438#A6A438

#A6A438 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.128 H 108.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A6A438
RGBrgb(166, 164, 56)
HSLhsl(59, 50%, 44%)
HSVhsv(59, 66%, 65%)
CMYKcmyk(0%, 1.2%, 66.3%, 34.9%)
CIE-LABlab(65.71, -12.82, 54.01)
CIE-LCHlch(65.71, 55.51, 103.36°)
OKLaboklab(69.99% -0.0401 0.1216)
OKLCHoklch(69.99% 0.128 108.3)
XYZxyz(29.7162, 34.9443, 8.9202)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A438 #383AA6
analogous
#A66D38 #A6A438 #71A638
triadic
#A6A438 #38A6A4 #A438A6
tetradic
#A6A438 #38A66D #383AA6 #A63871
square
#A6A438 #38A66D #383AA6 #A63871
split-complementary
#A6A438 #3871A6 #6D38A6
monochromatic
#4A4A19 #787729 #A6A438 #C6C455 #D5D483

Accessibility & contrast

On white

2.63
#A6A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#A6A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A438
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A438#FFFFFF#000000##000000
##A6A4381.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B3A13F
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a438;
/* rgb */ color: rgb(166, 164, 56);
/* oklch */ color: oklch(70.0% 0.128 108.3);
Tailwind
colors: {
  custom: {
    50: '#c3be75',
    500: '#a6a438',
    950: '#000000',
  },
}
SCSS
$custom: #a6a438;
$custom-light: #c3be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a438",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 58.909,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69994,
    "c": 0.12809,
    "h": 108.3
  },
  "luminance": 0.34943
}

Semantic roles & 50–950 ramp

primary
#A6A438
secondary
#7B7CBF
accent
#51D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A438

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

Preview Lab → · Contrast checker → · Palette generator →

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