#A5B829#A5B829

#A5B829 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.3% C 0.159 H 117.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#A5B829
RGBrgb(165, 184, 41)
HSLhsl(68, 64%, 44%)
HSVhsv(68, 78%, 72%)
CMYKcmyk(10.3%, 0%, 77.7%, 27.8%)
CIE-LABlab(71.17, -24.12, 64.66)
CIE-LCHlch(71.17, 69.01, 110.46°)
OKLaboklab(74.33% -0.073 0.1416)
OKLCHoklch(74.33% 0.159 117.3)
XYZxyz(33.0586, 42.4408, 8.5478)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B829 #3C29B8
analogous
#B88429 #A5B829 #5EB829
triadic
#A5B829 #29A5B8 #B829A5
tetradic
#A5B829 #29B884 #3C29B8 #B8295E
square
#A5B829 #29B884 #3C29B8 #B8295E
split-complementary
#A5B829 #295EB8 #8429B8
monochromatic
#4B5413 #78861E #A5B829 #C3D648 #D4E17A

Accessibility & contrast

On white

2.21
#A5B829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#A5B829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B829
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B829#FFFFFF#000000##000000
##A5B8291.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#B0AD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b829;
/* rgb */ color: rgb(165, 184, 41);
/* oklch */ color: oklch(74.3% 0.159 117.3);
Tailwind
colors: {
  custom: {
    50: '#c3cd6f',
    500: '#a5b829',
    950: '#000000',
  },
}
SCSS
$custom: #a5b829;
$custom-light: #c3cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b829",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 41
  },
  "hsl": {
    "h": 67.972,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74326,
    "c": 0.15927,
    "h": 117.3
  },
  "luminance": 0.4244
}

Semantic roles & 50–950 ramp

primary
#A5B829
secondary
#7F73C9
accent
#41E757
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B829

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

Preview Lab → · Contrast checker → · Palette generator →

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