#A6A124#A6A124

#A6A124 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.138 H 107.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A6A124
RGBrgb(166, 161, 36)
HSLhsl(58, 64%, 40%)
HSVhsv(58, 78%, 65%)
CMYKcmyk(0%, 3%, 78.3%, 34.9%)
CIE-LABlab(64.74, -12.24, 60.40)
CIE-LCHlch(64.74, 61.63, 101.45°)
OKLaboklab(69.19% -0.0405 0.1316)
OKLCHoklch(69.19% 0.138 107.1)
XYZxyz(28.7904, 33.7251, 6.6618)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A124 #2429A6
analogous
#A66024 #A6A124 #6AA624
triadic
#A6A124 #24A6A1 #A124A6
tetradic
#A6A124 #24A660 #2429A6 #A6246A
square
#A6A124 #24A660 #2429A6 #A6246A
split-complementary
#A6A124 #246AA6 #6024A6
monochromatic
#413F0E #747019 #A6A124 #D3CD34 #DED966

Accessibility & contrast

On white

2.71
#A6A124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A6A124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A124
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A124#FFFFFF#000000##000000
##A6A1241.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#B29F2F
Tritanopia (blue-blind)
#B3968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a124;
/* rgb */ color: rgb(166, 161, 36);
/* oklch */ color: oklch(69.2% 0.138 107.1);
Tailwind
colors: {
  custom: {
    50: '#c4bc6a',
    500: '#a6a124',
    950: '#000000',
  },
}
SCSS
$custom: #a6a124;
$custom-light: #c4bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a124",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 57.692,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69187,
    "c": 0.13764,
    "h": 107.1
  },
  "luminance": 0.33724
}

Semantic roles & 50–950 ramp

primary
#A6A124
secondary
#6266C4
accent
#47E740
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A124

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

Preview Lab → · Contrast checker → · Palette generator →

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