#A5B529#A5B529

#A5B529 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.6% C 0.156 H 116.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A5B529
RGBrgb(165, 181, 41)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(8.8%, 0%, 77.3%, 29%)
CIE-LABlab(70.32, -22.64, 63.88)
CIE-LCHlch(70.32, 67.78, 109.52°)
OKLaboklab(73.64% -0.0689 0.1399)
OKLCHoklch(73.64% 0.156 116.2)
XYZxyz(32.4420, 41.2077, 8.3422)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B529 #3929B5
analogous
#B57F29 #A5B529 #5FB529
triadic
#A5B529 #29A5B5 #B529A5
tetradic
#A5B529 #29B57F #3929B5 #B5295F
square
#A5B529 #29B57F #3929B5 #B5295F
split-complementary
#A5B529 #295FB5 #7F29B5
monochromatic
#4A5112 #78831E #A5B529 #C5D546 #D4E078

Accessibility & contrast

On white

2.27
#A5B529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#A5B529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B529
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B529#FFFFFF#000000##000000
##A5B5291.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B0AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b529;
/* rgb */ color: rgb(165, 181, 41);
/* oklch */ color: oklch(73.6% 0.156 116.2);
Tailwind
colors: {
  custom: {
    50: '#c3cb6f',
    500: '#a5b529',
    950: '#000000',
  },
}
SCSS
$custom: #a5b529;
$custom-light: #c3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b529",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 41
  },
  "hsl": {
    "h": 66.857,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.15597,
    "h": 116.2
  },
  "luminance": 0.41207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5B529

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

Preview Lab → · Contrast checker → · Palette generator →

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