#A5B641#A5B641

#A5B641 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.0% C 0.142 H 117.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#A5B641
RGBrgb(165, 182, 65)
HSLhsl(69, 47%, 48%)
HSVhsv(69, 64%, 71%)
CMYKcmyk(9.3%, 0%, 64.3%, 28.6%)
CIE-LABlab(70.76, -21.83, 55.52)
CIE-LCHlch(70.76, 59.66, 111.46°)
OKLaboklab(74.04% -0.0644 0.1262)
OKLCHoklch(74.04% 0.142 117)
XYZxyz(33.1998, 41.8373, 11.3264)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B641 #5241B6
analogous
#B68C41 #A5B641 #6AB641
triadic
#A5B641 #41A5B6 #B641A5
tetradic
#A5B641 #41B68C #5241B6 #B6416A
square
#A5B641 #41B68C #5241B6 #B6416A
split-complementary
#A5B641 #416AB6 #8C41B6
monochromatic
#535C21 #7C8931 #A5B641 #BCCA6A #D0DA97

Accessibility & contrast

On white

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

On black

9.37
#A5B641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B641
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B641#FFFFFF#000000##000000
##A5B6411.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C0AE49
Tritanopia (blue-blind)
#AFAC9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b641;
/* rgb */ color: rgb(165, 182, 65);
/* oklch */ color: oklch(74.0% 0.142 117.0);
Tailwind
colors: {
  custom: {
    50: '#c2cb7b',
    500: '#a5b641',
    950: '#000000',
  },
}
SCSS
$custom: #a5b641;
$custom-light: #c2cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b641",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 68.718,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.14172,
    "h": 117
  },
  "luminance": 0.41837
}

Semantic roles & 50–950 ramp

primary
#A5B641
secondary
#958DC6
accent
#51D764
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B641

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

Preview Lab → · Contrast checker → · Palette generator →

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