#A4B531#A4B531

#A4B531 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.6% C 0.152 H 116.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A4B531
RGBrgb(164, 181, 49)
HSLhsl(68, 57%, 45%)
HSVhsv(68, 73%, 71%)
CMYKcmyk(9.4%, 0%, 72.9%, 29%)
CIE-LABlab(70.29, -22.70, 61.19)
CIE-LCHlch(70.29, 65.27, 110.35°)
OKLaboklab(73.61% -0.0683 0.1357)
OKLCHoklch(73.61% 0.152 116.7)
XYZxyz(32.3889, 41.1624, 9.1440)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B531 #4231B5
analogous
#B58431 #A4B531 #62B531
triadic
#A4B531 #31A4B5 #B531A4
tetradic
#A4B531 #31B584 #4231B5 #B53162
square
#A4B531 #31B584 #4231B5 #B53162
split-complementary
#A4B531 #3162B5 #8431B5
monochromatic
#4D5517 #788524 #A4B531 #C0D053 #D2DD83

Accessibility & contrast

On white

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

On black

9.23
#A4B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B531
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B531#FFFFFF#000000##000000
##A4B5311.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB17
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#AEAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a4b531;
/* rgb */ color: rgb(164, 181, 49);
/* oklch */ color: oklch(73.6% 0.152 116.7);
Tailwind
colors: {
  custom: {
    50: '#c2cb73',
    500: '#a4b531',
    950: '#000000',
  },
}
SCSS
$custom: #a4b531;
$custom-light: #c2cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b531",
  "rgb": {
    "r": 164,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 67.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7361,
    "c": 0.15188,
    "h": 116.7
  },
  "luminance": 0.41162
}

Semantic roles & 50–950 ramp

primary
#A4B531
secondary
#857BC7
accent
#47E15B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4B531

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

Preview Lab → · Contrast checker → · Palette generator →

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