#A5B929#A5B929

#A5B929 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.6% C 0.160 H 117.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#A5B929
RGBrgb(165, 185, 41)
HSLhsl(68, 64%, 44%)
HSVhsv(68, 78%, 73%)
CMYKcmyk(10.8%, 0%, 77.8%, 27.5%)
CIE-LABlab(71.46, -24.61, 64.92)
CIE-LCHlch(71.46, 69.43, 110.76°)
OKLaboklab(74.56% -0.0743 0.1421)
OKLCHoklch(74.56% 0.16 117.6)
XYZxyz(33.2671, 42.8577, 8.6173)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B929 #3D29B9
analogous
#B98529 #A5B929 #5DB929
triadic
#A5B929 #29A5B9 #B929A5
tetradic
#A5B929 #29B985 #3D29B9 #B9295D
square
#A5B929 #29B985 #3D29B9 #B9295D
split-complementary
#A5B929 #295DB9 #8529B9
monochromatic
#4C5513 #78871E #A5B929 #C3D749 #D3E27B

Accessibility & contrast

On white

2.19
#A5B929 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A5B929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B929
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B929#FFFFFF#000000##000000
##A5B9291.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a5b929;
/* rgb */ color: rgb(165, 185, 41);
/* oklch */ color: oklch(74.6% 0.160 117.6);
Tailwind
colors: {
  custom: {
    50: '#c3ce6f',
    500: '#a5b929',
    950: '#000000',
  },
}
SCSS
$custom: #a5b929;
$custom-light: #c3ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b929",
  "rgb": {
    "r": 165,
    "g": 185,
    "b": 41
  },
  "hsl": {
    "h": 68.333,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74555,
    "c": 0.16038,
    "h": 117.6
  },
  "luminance": 0.42857
}

Semantic roles & 50–950 ramp

primary
#A5B929
secondary
#8074CA
accent
#41E758
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B929

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

Preview Lab → · Contrast checker → · Palette generator →

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