#A4B431#A4B431

#A4B431 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.151 H 116.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#A4B431
RGBrgb(164, 180, 49)
HSLhsl(67, 57%, 45%)
HSVhsv(67, 73%, 71%)
CMYKcmyk(8.9%, 0%, 72.8%, 29.4%)
CIE-LABlab(70.01, -22.20, 60.92)
CIE-LCHlch(70.01, 64.84, 110.03°)
OKLaboklab(73.38% -0.0669 0.1351)
OKLCHoklch(73.38% 0.151 116.4)
XYZxyz(32.1863, 40.7572, 9.0765)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B431 #4131B4
analogous
#B48231 #A4B431 #63B431
triadic
#A4B431 #31A4B4 #B431A4
tetradic
#A4B431 #31B482 #4131B4 #B43163
square
#A4B431 #31B482 #4131B4 #B43163
split-complementary
#A4B431 #3163B4 #8231B4
monochromatic
#4C5417 #788424 #A4B431 #C1D052 #D2DD82

Accessibility & contrast

On white

2.29
#A4B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#A4B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B431
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B431#FFFFFF#000000##000000
##A4B4311.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA18
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#AEAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b431;
/* rgb */ color: rgb(164, 180, 49);
/* oklch */ color: oklch(73.4% 0.151 116.4);
Tailwind
colors: {
  custom: {
    50: '#c2ca72',
    500: '#a4b431',
    950: '#000000',
  },
}
SCSS
$custom: #a4b431;
$custom-light: #c2ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b431",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 67.328,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73382,
    "c": 0.15076,
    "h": 116.4
  },
  "luminance": 0.40757
}

Semantic roles & 50–950 ramp

primary
#A4B431
secondary
#847BC6
accent
#47E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B431

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

Preview Lab → · Contrast checker → · Palette generator →

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