#A4BA2B#A4BA2B

#A4BA2B is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.7% C 0.161 H 118.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#A4BA2B
RGBrgb(164, 186, 43)
HSLhsl(69, 62%, 45%)
HSVhsv(69, 77%, 73%)
CMYKcmyk(11.8%, 0%, 76.9%, 27.1%)
CIE-LABlab(71.68, -25.43, 64.49)
CIE-LCHlch(71.68, 69.32, 111.52°)
OKLaboklab(74.72% -0.0764 0.1416)
OKLCHoklch(74.72% 0.161 118.3)
XYZxyz(33.3056, 43.1850, 8.8660)
Luminance0.4319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4BA2B #412BBA
analogous
#BA892B #A4BA2B #5CBA2B
triadic
#A4BA2B #2BA4BA #BA2BA4
tetradic
#A4BA2B #2BBA89 #412BBA #BA2B5C
square
#A4BA2B #2BBA89 #412BBA #BA2B5C
split-complementary
#A4BA2B #2B5CBA #892BBA
monochromatic
#4C5714 #788820 #A4BA2B #C1D64C #D2E17E

Accessibility & contrast

On white

2.18
#A4BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#A4BA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4BA2B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4BA2B#FFFFFF#000000##000000
##A4BA2B1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF01
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#AEB09F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a4ba2b;
/* rgb */ color: rgb(164, 186, 43);
/* oklch */ color: oklch(74.7% 0.161 118.3);
Tailwind
colors: {
  custom: {
    50: '#c3ce70',
    500: '#a4ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #a4ba2b;
$custom-light: #c3ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ba2b",
  "rgb": {
    "r": 164,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 69.231,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74718,
    "c": 0.16086,
    "h": 118.3
  },
  "luminance": 0.43185
}

Semantic roles & 50–950 ramp

primary
#A4BA2B
secondary
#8477CA
accent
#42E65B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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