#A5A71C#A5A71C

#A5A71C is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.147 H 110.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A5A71C
RGBrgb(165, 167, 28)
HSLhsl(61, 71%, 38%)
HSVhsv(61, 83%, 65%)
CMYKcmyk(1.2%, 0%, 83.2%, 34.5%)
CIE-LABlab(66.31, -16.06, 64.00)
CIE-LCHlch(66.31, 65.98, 104.09°)
OKLaboklab(70.4% -0.0517 0.1379)
OKLCHoklch(70.4% 0.147 110.5)
XYZxyz(29.5465, 35.7215, 6.4369)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A71C #1E1CA7
analogous
#A7631C #A5A71C #5FA71C
triadic
#A5A71C #1CA5A7 #A71CA5
tetradic
#A5A71C #1CA763 #1E1CA7 #A71C5F
square
#A5A71C #1CA763 #1E1CA7 #A71C5F
split-complementary
#A5A71C #1C5FA7 #631CA7
monochromatic
#3D3E0A #717313 #A5A71C #D8DB26 #E1E35A

Accessibility & contrast

On white

2.58
#A5A71C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A5A71C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A71C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A71C#FFFFFF#000000##000000
##A5A71C1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32A
Tritanopia (blue-blind)
#B19C8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a71c;
/* rgb */ color: rgb(165, 167, 28);
/* oklch */ color: oklch(70.4% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c068',
    500: '#a5a71c',
    950: '#000000',
  },
}
SCSS
$custom: #a5a71c;
$custom-light: #c4c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a71c",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 60.863,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70404,
    "c": 0.14722,
    "h": 110.5
  },
  "luminance": 0.35721
}

Semantic roles & 50–950 ramp

primary
#A5A71C
secondary
#5958C7
accent
#3AEE3C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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