#A5BA29#A5BA29

#A5BA29 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.161 H 117.9°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#A5BA29
RGBrgb(165, 186, 41)
HSLhsl(69, 64%, 45%)
HSVhsv(69, 78%, 73%)
CMYKcmyk(11.3%, 0%, 78%, 27.1%)
CIE-LABlab(71.74, -25.10, 65.18)
CIE-LCHlch(71.74, 69.85, 111.06°)
OKLaboklab(74.78% -0.0756 0.1427)
OKLCHoklch(74.78% 0.161 117.9)
XYZxyz(33.4770, 43.2776, 8.6872)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA29 #3E29BA
analogous
#BA8729 #A5BA29 #5CBA29
triadic
#A5BA29 #29A5BA #BA29A5
tetradic
#A5BA29 #29BA87 #3E29BA #BA295C
square
#A5BA29 #29BA87 #3E29BA #BA295C
split-complementary
#A5BA29 #295CBA #8729BA
monochromatic
#4C5613 #79881E #A5BA29 #C2D749 #D3E27B

Accessibility & contrast

On white

2.17
#A5BA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#A5BA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA29
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA29#FFFFFF#000000##000000
##A5BA291.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C5B037
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba29;
/* rgb */ color: rgb(165, 186, 41);
/* oklch */ color: oklch(74.8% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#c3ce6f',
    500: '#a5ba29',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba29;
$custom-light: #c3ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba29",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 68.69,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74784,
    "c": 0.16149,
    "h": 117.9
  },
  "luminance": 0.43277
}

Semantic roles & 50–950 ramp

primary
#A5BA29
secondary
#8175CA
accent
#41E759
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BA29

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

Preview Lab → · Contrast checker → · Palette generator →

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