#A5A246#A5A246

#A5A246 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.115 H 107.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A5A246
RGBrgb(165, 162, 70)
HSLhsl(58, 40%, 46%)
HSVhsv(58, 58%, 65%)
CMYKcmyk(0%, 1.8%, 57.6%, 35.3%)
CIE-LABlab(65.19, -11.24, 47.24)
CIE-LCHlch(65.19, 48.56, 103.39°)
OKLaboklab(69.6% -0.034 0.1093)
OKLCHoklch(69.6% 0.115 107.3)
XYZxyz(29.5437, 34.2831, 10.8542)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A246 #4649A5
analogous
#A57246 #A5A246 #78A546
triadic
#A5A246 #46A5A2 #A246A5
tetradic
#A5A246 #46A572 #4649A5 #A54678
square
#A5A246 #46A572 #4649A5 #A54678
split-complementary
#A5A246 #4678A5 #7246A5
monochromatic
#4F4E22 #7A7834 #A5A246 #BFBD69 #D2D094

Accessibility & contrast

On white

2.67
#A5A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A5A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A246
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A246#FFFFFF#000000##000000
##A5A2461.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3C
Deuteranopia (green-blind)
#B0A04B
Tritanopia (blue-blind)
#B0988E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a246;
/* rgb */ color: rgb(165, 162, 70);
/* oklch */ color: oklch(69.6% 0.115 107.3);
Tailwind
colors: {
  custom: {
    50: '#c2bd7d',
    500: '#a5a246',
    950: '#000000',
  },
}
SCSS
$custom: #a5a246;
$custom-light: #c2bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a246",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 58.105,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.696,
    "c": 0.11451,
    "h": 107.3
  },
  "luminance": 0.34282
}

Semantic roles & 50–950 ramp

primary
#A5A246
secondary
#898BBD
accent
#5BD058
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A246

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

Preview Lab → · Contrast checker → · Palette generator →

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