#A5A640#A5A640

#A5A640 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.124 H 109.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A5A640
RGBrgb(165, 166, 64)
HSLhsl(61, 44%, 45%)
HSVhsv(61, 61%, 65%)
CMYKcmyk(0.6%, 0%, 61.4%, 34.9%)
CIE-LABlab(66.25, -13.78, 51.13)
CIE-LCHlch(66.25, 52.96, 105.08°)
OKLaboklab(70.43% -0.0419 0.1168)
OKLCHoklch(70.43% 0.124 109.7)
XYZxyz(30.0796, 35.6427, 10.1447)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A640 #4140A6
analogous
#A67440 #A5A640 #72A640
triadic
#A5A640 #40A5A6 #A640A5
tetradic
#A5A640 #40A674 #4140A6 #A64072
square
#A5A640 #40A674 #4140A6 #A64072
split-complementary
#A5A640 #4072A6 #7440A6
monochromatic
#4D4E1E #797A2F #A5A640 #C1C261 #D2D38D

Accessibility & contrast

On white

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

On black

8.13
#A5A640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A640
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A640#FFFFFF#000000##000000
##A5A6401.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F34
Deuteranopia (green-blind)
#B4A346
Tritanopia (blue-blind)
#B09C90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a640;
/* rgb */ color: rgb(165, 166, 64);
/* oklch */ color: oklch(70.4% 0.124 109.7);
Tailwind
colors: {
  custom: {
    50: '#c2c079',
    500: '#a5a640',
    950: '#000000',
  },
}
SCSS
$custom: #a5a640;
$custom-light: #c2c079;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a640",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 60.588,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70426,
    "c": 0.1241,
    "h": 109.7
  },
  "luminance": 0.35642
}

Semantic roles & 50–950 ramp

primary
#A5A640
secondary
#8484BE
accent
#54D455
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A640

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

Preview Lab → · Contrast checker → · Palette generator →

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