#A5A826#A5A826

#A5A826 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#A5A826
RGBrgb(165, 168, 38)
HSLhsl(61, 63%, 40%)
HSVhsv(61, 77%, 66%)
CMYKcmyk(1.8%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.63, -16.23, 61.45)
CIE-LCHlch(66.63, 63.56, 104.79°)
OKLaboklab(70.68% -0.0514 0.1342)
OKLCHoklch(70.68% 0.144 110.9)
XYZxyz(29.8706, 36.1454, 7.2366)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A826 #2926A8
analogous
#A86A26 #A5A826 #64A826
triadic
#A5A826 #26A5A8 #A826A5
tetradic
#A5A826 #26A86A #2926A8 #A82664
square
#A5A826 #26A86A #2926A8 #A82664
split-complementary
#A5A826 #2664A8 #6A26A8
monochromatic
#43440F #74761B #A5A826 #CFD239 #DBDE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A826#FFFFFF#000000##000000
##A5A8261.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: #a5a826;
/* rgb */ color: rgb(165, 168, 38);
/* oklch */ color: oklch(70.7% 0.144 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16c',
    500: '#a5a826',
    950: '#000000',
  },
}
SCSS
$custom: #a5a826;
$custom-light: #c3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a826",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 61.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70677,
    "c": 0.14371,
    "h": 110.9
  },
  "luminance": 0.36145
}

Semantic roles & 50–950 ramp

primary
#A5A826
secondary
#6866C4
accent
#42E645
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A826

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

Preview Lab → · Contrast checker → · Palette generator →

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