#A8B429#A8B429

#A8B429 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.154 H 114.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A8B429
RGBrgb(168, 180, 41)
HSLhsl(65, 63%, 43%)
HSVhsv(65, 77%, 71%)
CMYKcmyk(6.7%, 0%, 77.2%, 29.4%)
CIE-LABlab(70.27, -20.87, 63.92)
CIE-LCHlch(70.27, 67.24, 108.08°)
OKLaboklab(73.65% -0.0641 0.1399)
OKLCHoklch(73.65% 0.154 114.6)
XYZxyz(32.8709, 41.1281, 8.3043)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B429 #3529B4
analogous
#B47A29 #A8B429 #62B429
triadic
#A8B429 #29A8B4 #B429A8
tetradic
#A8B429 #29B47A #3529B4 #B42962
square
#A8B429 #29B47A #3529B4 #B42962
split-complementary
#A8B429 #2962B4 #7A29B4
monochromatic
#4B5012 #79821E #A8B429 #C8D545 #D7E077

Accessibility & contrast

On white

2.28
#A8B429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#A8B429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B429
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B429#FFFFFF#000000##000000
##A8B4291.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b429;
/* rgb */ color: rgb(168, 180, 41);
/* oklch */ color: oklch(73.7% 0.154 114.6);
Tailwind
colors: {
  custom: {
    50: '#c6ca6f',
    500: '#a8b429',
    950: '#000000',
  },
}
SCSS
$custom: #a8b429;
$custom-light: #c6ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b429",
  "rgb": {
    "r": 168,
    "g": 180,
    "b": 41
  },
  "hsl": {
    "h": 65.18,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73652,
    "c": 0.1539,
    "h": 114.6
  },
  "luminance": 0.41127
}

Semantic roles & 50–950 ramp

primary
#A8B429
secondary
#7871C8
accent
#42E650
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B429

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

Preview Lab → · Contrast checker → · Palette generator →

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