#A4BA31#A4BA31

#A4BA31 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.158 H 118.5°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#A4BA31
RGBrgb(164, 186, 49)
HSLhsl(70, 58%, 46%)
HSVhsv(70, 74%, 73%)
CMYKcmyk(11.8%, 0%, 73.7%, 27.1%)
CIE-LABlab(71.71, -25.15, 62.56)
CIE-LCHlch(71.71, 67.42, 111.90°)
OKLaboklab(74.75% -0.0751 0.1385)
OKLCHoklch(74.75% 0.158 118.5)
XYZxyz(33.4239, 43.2324, 9.4890)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4BA31 #4731BA
analogous
#BA8B31 #A4BA31 #5FBA31
triadic
#A4BA31 #31A4BA #BA31A4
tetradic
#A4BA31 #31BA8B #4731BA #BA315F
square
#A4BA31 #31BA8B #4731BA #BA315F
split-complementary
#A4BA31 #315FBA #8B31BA
monochromatic
#4F5917 #798A24 #A4BA31 #BED256 #D1DF86

Accessibility & contrast

On white

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

On black

9.65
#A4BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4BA31
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4BA31#FFFFFF#000000##000000
##A4BA311.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B014
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#AEB0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a4ba31;
/* rgb */ color: rgb(164, 186, 49);
/* oklch */ color: oklch(74.8% 0.158 118.5);
Tailwind
colors: {
  custom: {
    50: '#c2ce73',
    500: '#a4ba31',
    950: '#000000',
  },
}
SCSS
$custom: #a4ba31;
$custom-light: #c2ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ba31",
  "rgb": {
    "r": 164,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 69.635,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74754,
    "c": 0.15757,
    "h": 118.5
  },
  "luminance": 0.43232
}

Semantic roles & 50–950 ramp

primary
#A4BA31
secondary
#8A7EC9
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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