#A4B131#A4B131

#A4B131 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.147 H 115.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A4B131
RGBrgb(164, 177, 49)
HSLhsl(66, 57%, 44%)
HSVhsv(66, 72%, 69%)
CMYKcmyk(7.3%, 0%, 72.3%, 30.6%)
CIE-LABlab(69.15, -20.71, 60.10)
CIE-LCHlch(69.15, 63.56, 109.02°)
OKLaboklab(72.7% -0.0628 0.1333)
OKLCHoklch(72.7% 0.147 115.2)
XYZxyz(31.5872, 39.5591, 8.8768)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B131 #3E31B1
analogous
#B17E31 #A4B131 #64B131
triadic
#A4B131 #31A4B1 #B131A4
tetradic
#A4B131 #31B17E #3E31B1 #B13164
square
#A4B131 #31B17E #3E31B1 #B13164
split-complementary
#A4B131 #3164B1 #7E31B1
monochromatic
#4B5116 #788124 #A4B131 #C2CF51 #D3DC80

Accessibility & contrast

On white

2.36
#A4B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A4B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B131
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B131#FFFFFF#000000##000000
##A4B1311.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#AFA798
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b131;
/* rgb */ color: rgb(164, 177, 49);
/* oklch */ color: oklch(72.7% 0.147 115.2);
Tailwind
colors: {
  custom: {
    50: '#c2c872',
    500: '#a4b131',
    950: '#000000',
  },
}
SCSS
$custom: #a4b131;
$custom-light: #c2c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b131",
  "rgb": {
    "r": 164,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 66.094,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72699,
    "c": 0.14739,
    "h": 115.2
  },
  "luminance": 0.39559
}

Semantic roles & 50–950 ramp

primary
#A4B131
secondary
#8179C5
accent
#48E057
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B131

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

Preview Lab → · Contrast checker → · Palette generator →

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