#A4B831#A4B831

#A4B831 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.3% C 0.155 H 117.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#A4B831
RGBrgb(164, 184, 49)
HSLhsl(69, 58%, 46%)
HSVhsv(69, 73%, 72%)
CMYKcmyk(10.9%, 0%, 73.4%, 27.8%)
CIE-LABlab(71.14, -24.17, 62.01)
CIE-LCHlch(71.14, 66.56, 111.30°)
OKLaboklab(74.3% -0.0724 0.1374)
OKLCHoklch(74.3% 0.155 117.8)
XYZxyz(33.0055, 42.3956, 9.3496)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B831 #4531B8
analogous
#B88831 #A4B831 #60B831
triadic
#A4B831 #31A4B8 #B831A4
tetradic
#A4B831 #31B888 #4531B8 #B83160
square
#A4B831 #31B888 #4531B8 #B83160
split-complementary
#A4B831 #3160B8 #8831B8
monochromatic
#4E5717 #798824 #A4B831 #BFD255 #D1DE85

Accessibility & contrast

On white

2.22
#A4B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#A4B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B831
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B831#FFFFFF#000000##000000
##A4B8311.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE16
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#AEAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a4b831;
/* rgb */ color: rgb(164, 184, 49);
/* oklch */ color: oklch(74.3% 0.155 117.8);
Tailwind
colors: {
  custom: {
    50: '#c2cd73',
    500: '#a4b831',
    950: '#000000',
  },
}
SCSS
$custom: #a4b831;
$custom-light: #c2cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b831",
  "rgb": {
    "r": 164,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 68.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74296,
    "c": 0.15529,
    "h": 117.8
  },
  "luminance": 0.42395
}

Semantic roles & 50–950 ramp

primary
#A4B831
secondary
#887DC8
accent
#47E15E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4B831

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

Preview Lab → · Contrast checker → · Palette generator →

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