#A4B040#A4B040

#A4B040 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.136 H 115.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A4B040
RGBrgb(164, 176, 64)
HSLhsl(66, 47%, 47%)
HSVhsv(66, 64%, 69%)
CMYKcmyk(6.8%, 0%, 63.6%, 31%)
CIE-LABlab(68.98, -19.32, 54.03)
CIE-LCHlch(68.98, 57.38, 109.67°)
OKLaboklab(72.59% -0.0574 0.123)
OKLCHoklch(72.59% 0.136 115)
XYZxyz(31.7613, 39.3138, 10.7647)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B040 #4C40B0
analogous
#B08440 #A4B040 #6CB040
triadic
#A4B040 #40A4B0 #B040A4
tetradic
#A4B040 #40B084 #4C40B0 #B0406C
square
#A4B040 #40B084 #4C40B0 #B0406C
split-complementary
#A4B040 #406CB0 #8440B0
monochromatic
#50561F #7A8330 #A4B040 #BDC766 #D0D893

Accessibility & contrast

On white

2.37
#A4B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A4B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B040
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B040#FFFFFF#000000##000000
##A4B0401.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#AEA699
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4b040;
/* rgb */ color: rgb(164, 176, 64);
/* oklch */ color: oklch(72.6% 0.136 115.0);
Tailwind
colors: {
  custom: {
    50: '#c2c77a',
    500: '#a4b040',
    950: '#000000',
  },
}
SCSS
$custom: #a4b040;
$custom-light: #c2c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b040",
  "rgb": {
    "r": 164,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 66.429,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72591,
    "c": 0.13572,
    "h": 115
  },
  "luminance": 0.39313
}

Semantic roles & 50–950 ramp

primary
#A4B040
secondary
#8F89C3
accent
#51D660
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A4B040

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

Preview Lab → · Contrast checker → · Palette generator →

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