#A5A824#A5A824

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

Color values

HEX#A5A824
RGBrgb(165, 168, 36)
HSLhsl(61, 65%, 40%)
HSVhsv(61, 79%, 66%)
CMYKcmyk(1.8%, 0%, 78.6%, 34.1%)
CIE-LABlab(66.62, -16.30, 62.06)
CIE-LCHlch(66.62, 64.17, 104.72°)
OKLaboklab(70.67% -0.0517 0.1351)
OKLCHoklch(70.67% 0.145 110.9)
XYZxyz(29.8392, 36.1328, 7.0712)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A824 #2724A8
analogous
#A86924 #A5A824 #63A824
triadic
#A5A824 #24A5A8 #A824A5
tetradic
#A5A824 #24A869 #2724A8 #A82463
square
#A5A824 #24A869 #2724A8 #A82463
split-complementary
#A5A824 #2463A8 #6924A8
monochromatic
#42430E #737619 #A5A824 #D0D435 #DCDF68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A824#FFFFFF#000000##000000
##A5A8241.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)
#B7A430
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a824;
/* rgb */ color: rgb(165, 168, 36);
/* oklch */ color: oklch(70.7% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16b',
    500: '#a5a824',
    950: '#000000',
  },
}
SCSS
$custom: #a5a824;
$custom-light: #c3c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a824",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 61.364,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70667,
    "c": 0.14471,
    "h": 110.9
  },
  "luminance": 0.36132
}

Semantic roles & 50–950 ramp

primary
#A5A824
secondary
#6663C4
accent
#40E844
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A824

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

Preview Lab → · Contrast checker → · Palette generator →

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