#A6A725#A6A725

#A6A725 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.18:1 contrast (WCAG AA passes).

Color values

HEX#A6A725
RGBrgb(166, 167, 37)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0.6%, 0%, 77.8%, 34.5%)
CIE-LABlab(66.43, -15.31, 61.61)
CIE-LCHlch(66.43, 63.49, 103.96°)
OKLaboklab(70.53% -0.049 0.1343)
OKLCHoklch(70.53% 0.143 110)
XYZxyz(29.8796, 35.8789, 7.1013)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A725 #2625A7
analogous
#A76725 #A6A725 #65A725
triadic
#A6A725 #25A6A7 #A725A6
tetradic
#A6A725 #25A767 #2625A7 #A72565
square
#A6A725 #25A767 #2625A7 #A72565
split-complementary
#A6A725 #2565A7 #6725A7
monochromatic
#42430F #74751A #A6A725 #D1D337 #DDDE69

Accessibility & contrast

On white

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

On black

8.18
#A6A725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A725
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A725#FFFFFF#000000##000000
##A6A7251.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.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: #a6a725;
/* rgb */ color: rgb(166, 167, 37);
/* oklch */ color: oklch(70.5% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c4c06b',
    500: '#a6a725',
    950: '#000000',
  },
}
SCSS
$custom: #a6a725;
$custom-light: #c4c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a725",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 60.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.70533,
    "c": 0.14297,
    "h": 110
  },
  "luminance": 0.35878
}

Semantic roles & 50–950 ramp

primary
#A6A725
secondary
#6564C4
accent
#41E742
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A725

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

Preview Lab → · Contrast checker → · Palette generator →

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