#A5B729#A5B729

#A5B729 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.158 H 116.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#A5B729
RGBrgb(165, 183, 41)
HSLhsl(68, 63%, 44%)
HSVhsv(68, 78%, 72%)
CMYKcmyk(9.8%, 0%, 77.6%, 28.2%)
CIE-LABlab(70.89, -23.63, 64.40)
CIE-LCHlch(70.89, 68.60, 110.15°)
OKLaboklab(74.1% -0.0716 0.141)
OKLCHoklch(74.1% 0.158 116.9)
XYZxyz(32.8516, 42.0268, 8.4788)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B729 #3B29B7
analogous
#B78229 #A5B729 #5EB729
triadic
#A5B729 #29A5B7 #B729A5
tetradic
#A5B729 #29B782 #3B29B7 #B7295E
square
#A5B729 #29B782 #3B29B7 #B7295E
split-complementary
#A5B729 #295EB7 #8229B7
monochromatic
#4B5313 #78851E #A5B729 #C4D647 #D4E179

Accessibility & contrast

On white

2.23
#A5B729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#A5B729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B729
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B729#FFFFFF#000000##000000
##A5B7291.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B0AC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b729;
/* rgb */ color: rgb(165, 183, 41);
/* oklch */ color: oklch(74.1% 0.158 116.9);
Tailwind
colors: {
  custom: {
    50: '#c3cc6f',
    500: '#a5b729',
    950: '#000000',
  },
}
SCSS
$custom: #a5b729;
$custom-light: #c3cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b729",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 41
  },
  "hsl": {
    "h": 67.606,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74097,
    "c": 0.15817,
    "h": 116.9
  },
  "luminance": 0.42026
}

Semantic roles & 50–950 ramp

primary
#A5B729
secondary
#7E73C9
accent
#41E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B729

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

Preview Lab → · Contrast checker → · Palette generator →

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