#A5A026#A5A026

#A5A026 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.136 H 107.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A5A026
RGBrgb(165, 160, 38)
HSLhsl(58, 63%, 40%)
HSVhsv(58, 77%, 65%)
CMYKcmyk(0%, 3%, 77%, 35.3%)
CIE-LABlab(64.39, -12.08, 59.41)
CIE-LCHlch(64.39, 60.63, 101.49°)
OKLaboklab(68.89% -0.0398 0.1299)
OKLCHoklch(68.89% 0.136 107)
XYZxyz(28.4389, 33.2819, 6.7594)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A026 #262BA5
analogous
#A56126 #A5A026 #6AA526
triadic
#A5A026 #26A5A0 #A026A5
tetradic
#A5A026 #26A561 #262BA5 #A5266A
square
#A5A026 #26A561 #262BA5 #A5266A
split-complementary
#A5A026 #266AA5 #6126A5
monochromatic
#42400F #73701B #A5A026 #D1CB37 #DCD869

Accessibility & contrast

On white

2.74
#A5A026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A5A026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A026
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A026#FFFFFF#000000##000000
##A5A0261.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A07
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#B19589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a026;
/* rgb */ color: rgb(165, 160, 38);
/* oklch */ color: oklch(68.9% 0.136 107.0);
Tailwind
colors: {
  custom: {
    50: '#c3bb6b',
    500: '#a5a026',
    950: '#000000',
  },
}
SCSS
$custom: #a5a026;
$custom-light: #c3bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a026",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 57.638,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68886,
    "c": 0.13582,
    "h": 107
  },
  "luminance": 0.33281
}

Semantic roles & 50–950 ramp

primary
#A5A026
secondary
#6468C3
accent
#49E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5A026

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

Preview Lab → · Contrast checker → · Palette generator →

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