#A4B151#A4B151

#A4B151 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.122 H 115.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A4B151
RGBrgb(164, 177, 81)
HSLhsl(68, 38%, 51%)
HSVhsv(68, 54%, 69%)
CMYKcmyk(7.3%, 0%, 54.2%, 30.6%)
CIE-LABlab(69.42, -18.49, 46.87)
CIE-LCHlch(69.42, 50.38, 111.53°)
OKLaboklab(73% -0.0533 0.1098)
OKLCHoklch(73% 0.122 115.9)
XYZxyz(32.5177, 39.9313, 13.7775)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B151 #5E51B1
analogous
#B18E51 #A4B151 #74B151
triadic
#A4B151 #51A4B1 #B151A4
tetradic
#A4B151 #51B18E #5E51B1 #B15174
square
#A4B151 #51B18E #5E51B1 #B15174
split-complementary
#A4B151 #5174B1 #8E51B1
monochromatic
#575E2A #7E883D #A4B151 #BAC47B #D0D7A6

Accessibility & contrast

On white

2.34
#A4B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A4B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B151
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B151#FFFFFF#000000##000000
##A4B1511.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA948
Deuteranopia (green-blind)
#BBAA57
Tritanopia (blue-blind)
#ADA89C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b151;
/* rgb */ color: rgb(164, 177, 81);
/* oklch */ color: oklch(73.0% 0.122 115.9);
Tailwind
colors: {
  custom: {
    50: '#c1c885',
    500: '#a4b151',
    950: '#000000',
  },
}
SCSS
$custom: #a4b151;
$custom-light: #c1c885;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b151",
  "rgb": {
    "r": 164,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 68.125,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.12207,
    "h": 115.9
  },
  "luminance": 0.39931
}

Semantic roles & 50–950 ramp

primary
#A4B151
secondary
#9F9AC4
accent
#5ACE6A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A4B151

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

Preview Lab → · Contrast checker → · Palette generator →

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