#A4B331#A4B331

#A4B331 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.150 H 116.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A4B331
RGBrgb(164, 179, 49)
HSLhsl(67, 57%, 45%)
HSVhsv(67, 73%, 70%)
CMYKcmyk(8.4%, 0%, 72.6%, 29.8%)
CIE-LABlab(69.72, -21.71, 60.64)
CIE-LCHlch(69.72, 64.41, 109.70°)
OKLaboklab(73.15% -0.0656 0.1345)
OKLCHoklch(73.15% 0.15 116)
XYZxyz(31.9851, 40.3549, 9.0095)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B331 #4031B3
analogous
#B38131 #A4B331 #63B331
triadic
#A4B331 #31A4B3 #B331A4
tetradic
#A4B331 #31B381 #4031B3 #B33163
square
#A4B331 #31B381 #4031B3 #B33163
split-complementary
#A4B331 #3163B3 #8131B3
monochromatic
#4C5317 #788324 #A4B331 #C1D052 #D2DD82

Accessibility & contrast

On white

2.32
#A4B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A4B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B331
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B331#FFFFFF#000000##000000
##A4B3311.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#AFA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b331;
/* rgb */ color: rgb(164, 179, 49);
/* oklch */ color: oklch(73.2% 0.150 116.0);
Tailwind
colors: {
  custom: {
    50: '#c2c972',
    500: '#a4b331',
    950: '#000000',
  },
}
SCSS
$custom: #a4b331;
$custom-light: #c2c972;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b331",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 66.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73154,
    "c": 0.14963,
    "h": 116
  },
  "luminance": 0.40354
}

Semantic roles & 50–950 ramp

primary
#A4B331
secondary
#837AC6
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B331

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

Preview Lab → · Contrast checker → · Palette generator →

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