#A5A427#A5A427

#A5A427 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.139 H 109.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A5A427
RGBrgb(165, 164, 39)
HSLhsl(60, 62%, 40%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0%, 0.6%, 76.4%, 35.3%)
CIE-LABlab(65.51, -14.12, 60.11)
CIE-LCHlch(65.51, 61.75, 103.22°)
OKLaboklab(69.79% -0.0454 0.1316)
OKLCHoklch(69.79% 0.139 109)
XYZxyz(29.1598, 34.6977, 7.0803)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A427 #2728A5
analogous
#A56527 #A5A427 #67A527
triadic
#A5A427 #27A5A4 #A427A5
tetradic
#A5A427 #27A565 #2728A5 #A52767
square
#A5A427 #27A565 #2728A5 #A52767
split-complementary
#A5A427 #2767A5 #6527A5
monochromatic
#424210 #74731B #A5A427 #D0CF39 #DCDB6A

Accessibility & contrast

On white

2.65
#A5A427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A5A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A427
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A427#FFFFFF#000000##000000
##A5A4271.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#B3A131
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a427;
/* rgb */ color: rgb(165, 164, 39);
/* oklch */ color: oklch(69.8% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#c3be6c',
    500: '#a5a427',
    950: '#000000',
  },
}
SCSS
$custom: #a5a427;
$custom-light: #c3be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a427",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 59.524,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.69785,
    "c": 0.13917,
    "h": 109
  },
  "luminance": 0.34697
}

Semantic roles & 50–950 ramp

primary
#A5A427
secondary
#6666C2
accent
#44E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A427

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

Preview Lab → · Contrast checker → · Palette generator →

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