#A8B529#A8B529

#A8B529 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.155 H 115.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A8B529
RGBrgb(168, 181, 41)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(7.2%, 0%, 77.3%, 29%)
CIE-LABlab(70.55, -21.37, 64.18)
CIE-LCHlch(70.55, 67.64, 108.42°)
OKLaboklab(73.88% -0.0655 0.1404)
OKLCHoklch(73.88% 0.155 115)
XYZxyz(33.0735, 41.5333, 8.3718)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B529 #3629B5
analogous
#B57C29 #A8B529 #62B529
triadic
#A8B529 #29A8B5 #B529A8
tetradic
#A8B529 #29B57C #3629B5 #B52962
square
#A8B529 #29B57C #3629B5 #B52962
split-complementary
#A8B529 #2962B5 #7C29B5
monochromatic
#4B5112 #7A831E #A8B529 #C8D546 #D7E078

Accessibility & contrast

On white

2.26
#A8B529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A8B529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B529
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B529#FFFFFF#000000##000000
##A8B5291.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b529;
/* rgb */ color: rgb(168, 181, 41);
/* oklch */ color: oklch(73.9% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#c6cb6f',
    500: '#a8b529',
    950: '#000000',
  },
}
SCSS
$custom: #a8b529;
$custom-light: #c6cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b529",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 41
  },
  "hsl": {
    "h": 65.571,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73879,
    "c": 0.15498,
    "h": 115
  },
  "luminance": 0.41533
}

Semantic roles & 50–950 ramp

primary
#A8B529
secondary
#7A72C8
accent
#42E651
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B529

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

Preview Lab → · Contrast checker → · Palette generator →

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