#A6A724#A6A724

#A6A724 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.143 H 110.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A6A724
RGBrgb(166, 167, 36)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0.6%, 0%, 78.4%, 34.5%)
CIE-LABlab(66.42, -15.35, 61.91)
CIE-LCHlch(66.42, 63.79, 103.93°)
OKLaboklab(70.53% -0.0491 0.1348)
OKLCHoklch(70.53% 0.143 110)
XYZxyz(29.8642, 35.8727, 7.0197)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A724 #2524A7
analogous
#A76724 #A6A724 #65A724
triadic
#A6A724 #24A6A7 #A724A6
tetradic
#A6A724 #24A767 #2524A7 #A72465
square
#A6A724 #24A767 #2524A7 #A72465
split-complementary
#A6A724 #2465A7 #6724A7
monochromatic
#42420E #747519 #A6A724 #D2D335 #DDDE67

Accessibility & contrast

On white

2.57
#A6A724 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A6A724 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A724
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A724#FFFFFF#000000##000000
##A6A7241.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a724;
/* rgb */ color: rgb(166, 167, 36);
/* oklch */ color: oklch(70.5% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c4c06b',
    500: '#a6a724',
    950: '#000000',
  },
}
SCSS
$custom: #a6a724;
$custom-light: #c4c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a724",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 36
  },
  "hsl": {
    "h": 60.458,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70528,
    "c": 0.14346,
    "h": 110
  },
  "luminance": 0.35872
}

Semantic roles & 50–950 ramp

primary
#A6A724
secondary
#6463C4
accent
#40E842
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A724

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

Preview Lab → · Contrast checker → · Palette generator →

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