#A4B31D#A4B31D

#A4B31D is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.159 H 115.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A4B31D
RGBrgb(164, 179, 29)
HSLhsl(66, 72%, 41%)
HSVhsv(66, 84%, 70%)
CMYKcmyk(8.4%, 0%, 83.8%, 29.8%)
CIE-LABlab(69.63, -22.51, 66.54)
CIE-LCHlch(69.63, 70.24, 108.69°)
OKLaboklab(73.05% -0.0693 0.1436)
OKLCHoklch(73.05% 0.159 115.8)
XYZxyz(31.6527, 40.2219, 7.2583)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B31D #2C1DB3
analogous
#B3771D #A4B31D #59B31D
triadic
#A4B31D #1DA4B3 #B31DA4
tetradic
#A4B31D #1DB377 #2C1DB3 #B31D59
square
#A4B31D #1DB377 #2C1DB3 #B31D59
split-complementary
#A4B31D #1D59B3 #771DB3
monochromatic
#434A0C #747E14 #A4B31D #CCDD30 #D9E664

Accessibility & contrast

On white

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

On black

9.04
#A4B31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B31D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B31D#FFFFFF#000000##000000
##A4B31D1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b31d;
/* rgb */ color: rgb(164, 179, 29);
/* oklch */ color: oklch(73.0% 0.159 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3c96a',
    500: '#a4b31d',
    950: '#000000',
  },
}
SCSS
$custom: #a4b31d;
$custom-light: #c3c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b31d",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 66,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73048,
    "c": 0.15944,
    "h": 115.8
  },
  "luminance": 0.40221
}

Semantic roles & 50–950 ramp

primary
#A4B31D
secondary
#6B61CB
accent
#39EF4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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