#A5A846#A5A846

#A5A846 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.121 H 110.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A5A846
RGBrgb(165, 168, 70)
HSLhsl(62, 41%, 47%)
HSVhsv(62, 58%, 66%)
CMYKcmyk(1.8%, 0%, 58.3%, 34.1%)
CIE-LABlab(66.86, -14.37, 49.11)
CIE-LCHlch(66.86, 51.17, 106.31°)
OKLaboklab(70.93% -0.0429 0.1133)
OKLCHoklch(70.93% 0.121 110.7)
XYZxyz(30.6260, 36.4475, 11.2149)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A846 #4946A8
analogous
#A87A46 #A5A846 #74A846
triadic
#A5A846 #46A5A8 #A846A5
tetradic
#A5A846 #46A87A #4946A8 #A84674
square
#A5A846 #46A87A #4946A8 #A84674
split-complementary
#A5A846 #4674A8 #7A46A8
monochromatic
#505222 #7B7D34 #A5A846 #BEC16A #D1D395

Accessibility & contrast

On white

2.53
#A5A846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A5A846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A846
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A846#FFFFFF#000000##000000
##A5A8461.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13B
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#AF9E93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a846;
/* rgb */ color: rgb(165, 168, 70);
/* oklch */ color: oklch(70.9% 0.121 110.7);
Tailwind
colors: {
  custom: {
    50: '#c2c17d',
    500: '#a5a846',
    950: '#000000',
  },
}
SCSS
$custom: #a5a846;
$custom-light: #c2c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a846",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 70
  },
  "hsl": {
    "h": 61.837,
    "s": 41.176,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70934,
    "c": 0.12118,
    "h": 110.7
  },
  "luminance": 0.36447
}

Semantic roles & 50–950 ramp

primary
#A5A846
secondary
#8D8BBF
accent
#57D15B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A846

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

Preview Lab → · Contrast checker → · Palette generator →

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