#A5B129#A5B129

#A5B129 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.152 H 114.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A5B129
RGBrgb(165, 177, 41)
HSLhsl(65, 62%, 43%)
HSVhsv(65, 77%, 69%)
CMYKcmyk(6.8%, 0%, 76.8%, 30.6%)
CIE-LABlab(69.19, -20.66, 62.85)
CIE-LCHlch(69.19, 66.15, 108.20°)
OKLaboklab(72.73% -0.0634 0.1377)
OKLCHoklch(72.73% 0.152 114.7)
XYZxyz(31.6404, 39.6043, 8.0750)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B129 #3529B1
analogous
#B17929 #A5B129 #61B129
triadic
#A5B129 #29A5B1 #B129A5
tetradic
#A5B129 #29B179 #3529B1 #B12961
square
#A5B129 #29B179 #3529B1 #B12961
split-complementary
#A5B129 #2961B1 #7929B1
monochromatic
#484E12 #777F1D #A5B129 #C7D444 #D6DF75

Accessibility & contrast

On white

2.35
#A5B129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#A5B129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B129
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B129#FFFFFF#000000##000000
##A5B1291.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA802
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#B0A698
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b129;
/* rgb */ color: rgb(165, 177, 41);
/* oklch */ color: oklch(72.7% 0.152 114.7);
Tailwind
colors: {
  custom: {
    50: '#c3c86e',
    500: '#a5b129',
    950: '#000000',
  },
}
SCSS
$custom: #a5b129;
$custom-light: #c3c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b129",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 41
  },
  "hsl": {
    "h": 65.294,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.15161,
    "h": 114.7
  },
  "luminance": 0.39604
}

Semantic roles & 50–950 ramp

primary
#A5B129
secondary
#776FC7
accent
#42E551
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B129

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

Preview Lab → · Contrast checker → · Palette generator →

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