#A6A225#A6A225

#A6A225 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.138 H 107.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A6A225
RGBrgb(166, 162, 37)
HSLhsl(58, 64%, 40%)
HSVhsv(58, 78%, 65%)
CMYKcmyk(0%, 2.4%, 77.7%, 34.9%)
CIE-LABlab(65.03, -12.72, 60.35)
CIE-LCHlch(65.03, 61.67, 101.91°)
OKLaboklab(69.42% -0.0417 0.1316)
OKLCHoklch(69.42% 0.138 107.6)
XYZxyz(28.9813, 34.0822, 6.8018)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A225 #2529A6
analogous
#A66225 #A6A225 #69A625
triadic
#A6A225 #25A6A2 #A225A6
tetradic
#A6A225 #25A662 #2529A6 #A62569
square
#A6A225 #25A662 #2529A6 #A62569
split-complementary
#A6A225 #2569A6 #6225A6
monochromatic
#42400F #74711A #A6A225 #D2CD36 #DDDA68

Accessibility & contrast

On white

2.69
#A6A225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A6A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A225
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A225#FFFFFF#000000##000000
##A6A2251.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B02
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#B2978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a225;
/* rgb */ color: rgb(166, 162, 37);
/* oklch */ color: oklch(69.4% 0.138 107.6);
Tailwind
colors: {
  custom: {
    50: '#c4bd6b',
    500: '#a6a225',
    950: '#000000',
  },
}
SCSS
$custom: #a6a225;
$custom-light: #c4bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a225",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 58.14,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69416,
    "c": 0.13808,
    "h": 107.6
  },
  "luminance": 0.34081
}

Semantic roles & 50–950 ramp

primary
#A6A225
secondary
#6467C3
accent
#46E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A225

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

Preview Lab → · Contrast checker → · Palette generator →

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