#A5B629#A5B629

#A5B629 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.157 H 116.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A5B629
RGBrgb(165, 182, 41)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(9.3%, 0%, 77.5%, 28.6%)
CIE-LABlab(70.61, -23.14, 64.14)
CIE-LCHlch(70.61, 68.19, 109.83°)
OKLaboklab(73.87% -0.0703 0.1405)
OKLCHoklch(73.87% 0.157 116.6)
XYZxyz(32.6461, 41.6158, 8.4103)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B629 #3A29B6
analogous
#B68029 #A5B629 #5EB629
triadic
#A5B629 #29A5B6 #B629A5
tetradic
#A5B629 #29B680 #3A29B6 #B6295E
square
#A5B629 #29B680 #3A29B6 #B6295E
split-complementary
#A5B629 #295EB6 #8029B6
monochromatic
#4A5212 #78841E #A5B629 #C4D547 #D4E179

Accessibility & contrast

On white

2.25
#A5B629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A5B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B629
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B629#FFFFFF#000000##000000
##A5B6291.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AE36
Tritanopia (blue-blind)
#B0AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b629;
/* rgb */ color: rgb(165, 182, 41);
/* oklch */ color: oklch(73.9% 0.157 116.6);
Tailwind
colors: {
  custom: {
    50: '#c3cb6f',
    500: '#a5b629',
    950: '#000000',
  },
}
SCSS
$custom: #a5b629;
$custom-light: #c3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b629",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 67.234,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73869,
    "c": 0.15707,
    "h": 116.6
  },
  "luminance": 0.41615
}

Semantic roles & 50–950 ramp

primary
#A5B629
secondary
#7D72C9
accent
#42E655
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B629

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

Preview Lab → · Contrast checker → · Palette generator →

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