#A4B628#A4B628

#A4B628 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.8% C 0.158 H 116.9°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A4B628
RGBrgb(164, 182, 40)
HSLhsl(68, 64%, 44%)
HSVhsv(68, 78%, 71%)
CMYKcmyk(9.9%, 0%, 78%, 28.6%)
CIE-LABlab(70.53, -23.60, 64.35)
CIE-LCHlch(70.53, 68.54, 110.14°)
OKLaboklab(73.79% -0.0716 0.1408)
OKLCHoklch(73.79% 0.158 116.9)
XYZxyz(32.4216, 41.5020, 8.3098)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B628 #3A28B6
analogous
#B68128 #A4B628 #5DB628
triadic
#A4B628 #28A4B6 #B628A4
tetradic
#A4B628 #28B681 #3A28B6 #B6285D
square
#A4B628 #28B681 #3A28B6 #B6285D
split-complementary
#A4B628 #285DB6 #8128B6
monochromatic
#4A5212 #77841D #A4B628 #C4D645 #D4E177

Accessibility & contrast

On white

2.26
#A4B628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A4B628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B628
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B628#FFFFFF#000000##000000
##A4B6281.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a4b628;
/* rgb */ color: rgb(164, 182, 40);
/* oklch */ color: oklch(73.8% 0.158 116.9);
Tailwind
colors: {
  custom: {
    50: '#c3cb6f',
    500: '#a4b628',
    950: '#000000',
  },
}
SCSS
$custom: #a4b628;
$custom-light: #c3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b628",
  "rgb": {
    "r": 164,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 67.606,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.15791,
    "h": 116.9
  },
  "luminance": 0.41502
}

Semantic roles & 50–950 ramp

primary
#A4B628
secondary
#7C71C9
accent
#41E756
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B628

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

Preview Lab → · Contrast checker → · Palette generator →

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