#A5A027#A5A027

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

Color values

HEX#A5A027
RGBrgb(165, 160, 39)
HSLhsl(58, 62%, 40%)
HSVhsv(58, 76%, 65%)
CMYKcmyk(0%, 3%, 76.4%, 35.3%)
CIE-LABlab(64.39, -12.04, 59.08)
CIE-LCHlch(64.39, 60.30, 101.52°)
OKLaboklab(68.89% -0.0396 0.1294)
OKLCHoklch(68.89% 0.135 107)
XYZxyz(28.4552, 33.2884, 6.8455)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A027 #272CA5
analogous
#A56127 #A5A027 #6BA527
triadic
#A5A027 #27A5A0 #A027A5
tetradic
#A5A027 #27A561 #272CA5 #A5276B
square
#A5A027 #27A561 #272CA5 #A5276B
split-complementary
#A5A027 #276BA5 #6127A5
monochromatic
#424010 #74701B #A5A027 #D0CA39 #DCD76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A027#FFFFFF#000000##000000
##A5A0271.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)
#AE9A0A
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#B19589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a027;
/* rgb */ color: rgb(165, 160, 39);
/* oklch */ color: oklch(68.9% 0.135 107.0);
Tailwind
colors: {
  custom: {
    50: '#c3bb6b',
    500: '#a5a027',
    950: '#000000',
  },
}
SCSS
$custom: #a5a027;
$custom-light: #c3bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a027",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 57.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.68892,
    "c": 0.13528,
    "h": 107
  },
  "luminance": 0.33287
}

Semantic roles & 50–950 ramp

primary
#A5A027
secondary
#6669C2
accent
#49E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5A027

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

Preview Lab → · Contrast checker → · Palette generator →

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