#A5B429#A5B429

#A5B429 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.155 H 115.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A5B429
RGBrgb(165, 180, 41)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(8.3%, 0%, 77.2%, 29.4%)
CIE-LABlab(70.04, -22.15, 63.63)
CIE-LCHlch(70.04, 67.37, 109.19°)
OKLaboklab(73.41% -0.0675 0.1394)
OKLCHoklch(73.41% 0.155 115.9)
XYZxyz(32.2394, 40.8025, 8.2747)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B429 #3829B4
analogous
#B47D29 #A5B429 #5FB429
triadic
#A5B429 #29A5B4 #B429A5
tetradic
#A5B429 #29B47D #3829B4 #B4295F
square
#A5B429 #29B47D #3829B4 #B4295F
split-complementary
#A5B429 #295FB4 #7D29B4
monochromatic
#4A5012 #77821E #A5B429 #C5D545 #D5E077

Accessibility & contrast

On white

2.29
#A5B429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A5B429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B429
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B429#FFFFFF#000000##000000
##A5B4291.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b429;
/* rgb */ color: rgb(165, 180, 41);
/* oklch */ color: oklch(73.4% 0.155 115.9);
Tailwind
colors: {
  custom: {
    50: '#c3ca6f',
    500: '#a5b429',
    950: '#000000',
  },
}
SCSS
$custom: #a5b429;
$custom-light: #c3ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b429",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 41
  },
  "hsl": {
    "h": 66.475,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73412,
    "c": 0.15487,
    "h": 115.9
  },
  "luminance": 0.40802
}

Semantic roles & 50–950 ramp

primary
#A5B429
secondary
#7A71C8
accent
#42E654
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B429

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

Preview Lab → · Contrast checker → · Palette generator →

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