#A4B540#A4B540

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

Color values

HEX#A4B540
RGBrgb(164, 181, 64)
HSLhsl(69, 48%, 48%)
HSVhsv(69, 65%, 71%)
CMYKcmyk(9.4%, 0%, 64.6%, 29%)
CIE-LABlab(70.39, -21.82, 55.53)
CIE-LCHlch(70.39, 59.66, 111.45°)
OKLaboklab(73.73% -0.0644 0.1261)
OKLCHoklch(73.73% 0.142 117.1)
XYZxyz(32.7598, 41.3108, 11.0975)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B540 #5140B5
analogous
#B58B40 #A4B540 #69B540
triadic
#A4B540 #40A4B5 #B540A4
tetradic
#A4B540 #40B58B #5140B5 #B54069
square
#A4B540 #40B58B #5140B5 #B54069
split-complementary
#A4B540 #4069B5 #8B40B5
monochromatic
#525B20 #7B8830 #A4B540 #BCCA68 #D0DA96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4B540#FFFFFF#000000##000000
##A4B5401.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)
#C1AC31
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#AEAB9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a4b540;
/* rgb */ color: rgb(164, 181, 64);
/* oklch */ color: oklch(73.7% 0.142 117.1);
Tailwind
colors: {
  custom: {
    50: '#c2cb7b',
    500: '#a4b540',
    950: '#000000',
  },
}
SCSS
$custom: #a4b540;
$custom-light: #c2cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b540",
  "rgb": {
    "r": 164,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 68.718,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73726,
    "c": 0.14162,
    "h": 117.1
  },
  "luminance": 0.4131
}

Semantic roles & 50–950 ramp

primary
#A4B540
secondary
#948BC5
accent
#50D764
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A4B540

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

Preview Lab → · Contrast checker → · Palette generator →

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