#A5B646#A5B646

#A5B646 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.138 H 117.2°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#A5B646
RGBrgb(165, 182, 70)
HSLhsl(69, 44%, 49%)
HSVhsv(69, 62%, 71%)
CMYKcmyk(9.3%, 0%, 61.5%, 28.6%)
CIE-LABlab(70.80, -21.48, 53.44)
CIE-LCHlch(70.80, 57.59, 111.89°)
OKLaboklab(74.09% -0.0629 0.1225)
OKLCHoklch(74.09% 0.138 117.2)
XYZxyz(33.3511, 41.8978, 12.1233)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B646 #5746B6
analogous
#B68F46 #A5B646 #6DB646
triadic
#A5B646 #46A5B6 #B646A5
tetradic
#A5B646 #46B68F #5746B6 #B6466D
square
#A5B646 #46B68F #5746B6 #B6466D
split-complementary
#A5B646 #466DB6 #8F46B6
monochromatic
#555E24 #7D8A35 #A5B646 #BBC871 #D0D99D

Accessibility & contrast

On white

2.24
#A5B646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#A5B646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B646
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B646#FFFFFF#000000##000000
##A5B6461.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD39
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#AEAC9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b646;
/* rgb */ color: rgb(165, 182, 70);
/* oklch */ color: oklch(74.1% 0.138 117.2);
Tailwind
colors: {
  custom: {
    50: '#c2cb7e',
    500: '#a5b646',
    950: '#000000',
  },
}
SCSS
$custom: #a5b646;
$custom-light: #c2cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b646",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 69.107,
    "s": 44.444,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74088,
    "c": 0.13773,
    "h": 117.2
  },
  "luminance": 0.41897
}

Semantic roles & 50–950 ramp

primary
#A5B646
secondary
#9A92C6
accent
#54D467
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B646

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

Preview Lab → · Contrast checker → · Palette generator →

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