#A5A641#A5A641

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

Color values

HEX#A5A641
RGBrgb(165, 166, 65)
HSLhsl(61, 44%, 45%)
HSVhsv(61, 61%, 65%)
CMYKcmyk(0.6%, 0%, 60.8%, 34.9%)
CIE-LABlab(66.25, -13.71, 50.70)
CIE-LCHlch(66.25, 52.52, 105.13°)
OKLaboklab(70.44% -0.0416 0.116)
OKLCHoklch(70.44% 0.123 109.7)
XYZxyz(30.1083, 35.6542, 10.2959)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A641 #4241A6
analogous
#A67441 #A5A641 #72A641
triadic
#A5A641 #41A5A6 #A641A5
tetradic
#A5A641 #41A674 #4241A6 #A64172
square
#A5A641 #41A674 #4241A6 #A64172
split-complementary
#A5A641 #4172A6 #7441A6
monochromatic
#4E4E1F #797A30 #A5A641 #C1C262 #D2D38E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A641#FFFFFF#000000##000000
##A5A6411.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)
#B29F35
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#B09C91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a641;
/* rgb */ color: rgb(165, 166, 65);
/* oklch */ color: oklch(70.4% 0.123 109.7);
Tailwind
colors: {
  custom: {
    50: '#c2c07a',
    500: '#a5a641',
    950: '#000000',
  },
}
SCSS
$custom: #a5a641;
$custom-light: #c2c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a641",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 60.594,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.12326,
    "h": 109.7
  },
  "luminance": 0.35653
}

Semantic roles & 50–950 ramp

primary
#A5A641
secondary
#8585BE
accent
#54D356
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A641

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

Preview Lab → · Contrast checker → · Palette generator →

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