#A5A625#A5A625

#A5A625 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.142 H 110.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A5A625
RGBrgb(165, 166, 37)
HSLhsl(60, 64%, 40%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0.6%, 0%, 77.7%, 34.9%)
CIE-LABlab(66.06, -15.24, 61.25)
CIE-LCHlch(66.06, 63.12, 103.97°)
OKLaboklab(70.22% -0.0487 0.1336)
OKLCHoklch(70.22% 0.142 110)
XYZxyz(29.4883, 35.4062, 7.0306)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A625 #2625A6
analogous
#A66625 #A5A625 #65A625
triadic
#A5A625 #25A5A6 #A625A5
tetradic
#A5A625 #25A666 #2625A6 #A62565
square
#A5A625 #25A666 #2625A6 #A62565
split-complementary
#A5A625 #2565A6 #6625A6
monochromatic
#42420F #73741A #A5A625 #D1D236 #DCDD68

Accessibility & contrast

On white

2.60
#A5A625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A5A625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A625
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A625#FFFFFF#000000##000000
##A5A6251.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a625;
/* rgb */ color: rgb(165, 166, 37);
/* oklch */ color: oklch(70.2% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#c3c06b',
    500: '#a5a625',
    950: '#000000',
  },
}
SCSS
$custom: #a5a625;
$custom-light: #c3c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a625",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 60.465,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.1422,
    "h": 110
  },
  "luminance": 0.35405
}

Semantic roles & 50–950 ramp

primary
#A5A625
secondary
#6464C3
accent
#41E743
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A625

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

Preview Lab → · Contrast checker → · Palette generator →

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