#A4B928#A4B928

#A4B928 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.5% C 0.161 H 118.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#A4B928
RGBrgb(164, 185, 40)
HSLhsl(69, 64%, 44%)
HSVhsv(69, 78%, 73%)
CMYKcmyk(11.4%, 0%, 78.4%, 27.5%)
CIE-LABlab(71.38, -25.07, 65.12)
CIE-LCHlch(71.38, 69.78, 111.05°)
OKLaboklab(74.47% -0.0756 0.1424)
OKLCHoklch(74.47% 0.161 118)
XYZxyz(33.0426, 42.7440, 8.5168)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B928 #3D28B9
analogous
#B98628 #A4B928 #5CB928
triadic
#A4B928 #28A4B9 #B928A4
tetradic
#A4B928 #28B986 #3D28B9 #B9285C
square
#A4B928 #28B986 #3D28B9 #B9285C
split-complementary
#A4B928 #285CB9 #8628B9
monochromatic
#4B5412 #77871D #A4B928 #C2D747 #D3E279

Accessibility & contrast

On white

2.20
#A4B928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#A4B928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B928
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B928#FFFFFF#000000##000000
##A4B9281.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4AF36
Tritanopia (blue-blind)
#AEAE9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a4b928;
/* rgb */ color: rgb(164, 185, 40);
/* oklch */ color: oklch(74.5% 0.161 118.0);
Tailwind
colors: {
  custom: {
    50: '#c3ce6f',
    500: '#a4b928',
    950: '#000000',
  },
}
SCSS
$custom: #a4b928;
$custom-light: #c3ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b928",
  "rgb": {
    "r": 164,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 68.69,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74473,
    "c": 0.16124,
    "h": 118
  },
  "luminance": 0.42744
}

Semantic roles & 50–950 ramp

primary
#A4B928
secondary
#7F73CA
accent
#40E759
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B928

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

Preview Lab → · Contrast checker → · Palette generator →

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