#A5A825#A5A825

#A5A825 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.144 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A5A825
RGBrgb(165, 168, 37)
HSLhsl(61, 64%, 40%)
HSVhsv(61, 78%, 66%)
CMYKcmyk(1.8%, 0%, 78%, 34.1%)
CIE-LABlab(66.63, -16.26, 61.76)
CIE-LCHlch(66.63, 63.87, 104.75°)
OKLaboklab(70.67% -0.0515 0.1347)
OKLCHoklch(70.67% 0.144 110.9)
XYZxyz(29.8547, 36.1390, 7.1528)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A825 #2825A8
analogous
#A86925 #A5A825 #63A825
triadic
#A5A825 #25A5A8 #A825A5
tetradic
#A5A825 #25A869 #2825A8 #A82563
square
#A5A825 #25A869 #2825A8 #A82563
split-complementary
#A5A825 #2563A8 #6925A8
monochromatic
#42440F #74761A #A5A825 #CFD337 #DBDE69

Accessibility & contrast

On white

2.55
#A5A825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A5A825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A825
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A825#FFFFFF#000000##000000
##A5A8251.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a825;
/* rgb */ color: rgb(165, 168, 37);
/* oklch */ color: oklch(70.7% 0.144 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16b',
    500: '#a5a825',
    950: '#000000',
  },
}
SCSS
$custom: #a5a825;
$custom-light: #c3c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a825",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 61.374,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70672,
    "c": 0.14421,
    "h": 110.9
  },
  "luminance": 0.36138
}

Semantic roles & 50–950 ramp

primary
#A5A825
secondary
#6765C4
accent
#41E745
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A825

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

Preview Lab → · Contrast checker → · Palette generator →

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