#A4B031#A4B031

#A4B031 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.146 H 114.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A4B031
RGBrgb(164, 176, 49)
HSLhsl(66, 56%, 44%)
HSVhsv(66, 72%, 69%)
CMYKcmyk(6.8%, 0%, 72.2%, 31%)
CIE-LABlab(68.87, -20.21, 59.82)
CIE-LCHlch(68.87, 63.14, 108.67°)
OKLaboklab(72.47% -0.0614 0.1328)
OKLCHoklch(72.47% 0.146 114.8)
XYZxyz(31.3904, 39.1655, 8.8112)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B031 #3D31B0
analogous
#B07D31 #A4B031 #65B031
triadic
#A4B031 #31A4B0 #B031A4
tetradic
#A4B031 #31B07D #3D31B0 #B03165
square
#A4B031 #31B07D #3D31B0 #B03165
split-complementary
#A4B031 #3165B0 #7D31B0
monochromatic
#4B5016 #778024 #A4B031 #C2CE50 #D3DC80

Accessibility & contrast

On white

2.38
#A4B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A4B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B031
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B031#FFFFFF#000000##000000
##A4B0311.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#AFA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4b031;
/* rgb */ color: rgb(164, 176, 49);
/* oklch */ color: oklch(72.5% 0.146 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c772',
    500: '#a4b031',
    950: '#000000',
  },
}
SCSS
$custom: #a4b031;
$custom-light: #c2c772;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b031",
  "rgb": {
    "r": 164,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 65.669,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72471,
    "c": 0.14628,
    "h": 114.8
  },
  "luminance": 0.39165
}

Semantic roles & 50–950 ramp

primary
#A4B031
secondary
#7F78C5
accent
#48E056
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B031

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

Preview Lab → · Contrast checker → · Palette generator →

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