#A5B628#A5B628

#A5B628 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.158 H 116.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A5B628
RGBrgb(165, 182, 40)
HSLhsl(67, 64%, 44%)
HSVhsv(67, 78%, 71%)
CMYKcmyk(9.3%, 0%, 78%, 28.6%)
CIE-LABlab(70.60, -23.18, 64.44)
CIE-LCHlch(70.60, 68.48, 109.78°)
OKLaboklab(73.86% -0.0704 0.1409)
OKLCHoklch(73.86% 0.158 116.6)
XYZxyz(32.6289, 41.6089, 8.3195)
Luminance0.4161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B628 #3928B6
analogous
#B68028 #A5B628 #5EB628
triadic
#A5B628 #28A5B6 #B628A5
tetradic
#A5B628 #28B680 #3928B6 #B6285E
square
#A5B628 #28B680 #3928B6 #B6285E
split-complementary
#A5B628 #285EB6 #8028B6
monochromatic
#4A5212 #78841D #A5B628 #C5D645 #D4E177

Accessibility & contrast

On white

2.25
#A5B628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A5B628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B628
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B628#FFFFFF#000000##000000
##A5B6281.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AE35
Tritanopia (blue-blind)
#B0AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b628;
/* rgb */ color: rgb(165, 182, 40);
/* oklch */ color: oklch(73.9% 0.158 116.6);
Tailwind
colors: {
  custom: {
    50: '#c3cb6f',
    500: '#a5b628',
    950: '#000000',
  },
}
SCSS
$custom: #a5b628;
$custom-light: #c3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b628",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 67.183,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73863,
    "c": 0.15756,
    "h": 116.6
  },
  "luminance": 0.41608
}

Semantic roles & 50–950 ramp

primary
#A5B628
secondary
#7B71C9
accent
#41E755
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B628

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

Preview Lab → · Contrast checker → · Palette generator →

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