#A5B456#A5B456

#A5B456 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.8% C 0.121 H 117.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A5B456
RGBrgb(165, 180, 86)
HSLhsl(70, 39%, 52%)
HSVhsv(70, 52%, 71%)
CMYKcmyk(8.3%, 0%, 52.2%, 29.4%)
CIE-LABlab(70.40, -19.14, 45.64)
CIE-LCHlch(70.40, 49.49, 112.75°)
OKLaboklab(73.82% -0.0547 0.1076)
OKLCHoklch(73.82% 0.121 117)
XYZxyz(33.5185, 41.3141, 15.0109)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B456 #6556B4
analogous
#B49456 #A5B456 #76B456
triadic
#A5B456 #56A5B4 #B456A5
tetradic
#A5B456 #56B494 #6556B4 #B45676
square
#A5B456 #56B494 #6556B4 #B45676
split-complementary
#A5B456 #5676B4 #9456B4
monochromatic
#5B632C #818E3F #A5B456 #BCC780 #D2DAAB

Accessibility & contrast

On white

2.27
#A5B456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A5B456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B456
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B456#FFFFFF#000000##000000
##A5B4561.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4D
Deuteranopia (green-blind)
#BDAD5B
Tritanopia (blue-blind)
#AEAB9F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b456;
/* rgb */ color: rgb(165, 180, 86);
/* oklch */ color: oklch(73.8% 0.121 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1ca88',
    500: '#a5b456',
    950: '#000000',
  },
}
SCSS
$custom: #a5b456;
$custom-light: #c1ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b456",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 69.574,
    "s": 38.525,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73815,
    "c": 0.12074,
    "h": 117
  },
  "luminance": 0.41314
}

Semantic roles & 50–950 ramp

primary
#A5B456
secondary
#A59EC7
accent
#59CE6C
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #A5B456

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

Preview Lab → · Contrast checker → · Palette generator →

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