#A8B729#A8B729

#A8B729 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.3% C 0.157 H 115.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#A8B729
RGBrgb(168, 183, 41)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 78%, 72%)
CMYKcmyk(8.2%, 0%, 77.6%, 28.2%)
CIE-LABlab(71.11, -22.36, 64.69)
CIE-LCHlch(71.11, 68.45, 109.07°)
OKLaboklab(74.33% -0.0683 0.1415)
OKLCHoklch(74.33% 0.157 115.7)
XYZxyz(33.4831, 42.3524, 8.5084)
Luminance0.4235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B729 #3829B7
analogous
#B77F29 #A8B729 #61B729
triadic
#A8B729 #29A8B7 #B729A8
tetradic
#A8B729 #29B77F #3829B7 #B72961
square
#A8B729 #29B77F #3829B7 #B72961
split-complementary
#A8B729 #2961B7 #7F29B7
monochromatic
#4C5313 #7A851E #A8B729 #C7D647 #D6E179

Accessibility & contrast

On white

2.22
#A8B729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#A8B729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B729
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B729#FFFFFF#000000##000000
##A8B7291.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b729;
/* rgb */ color: rgb(168, 183, 41);
/* oklch */ color: oklch(74.3% 0.157 115.7);
Tailwind
colors: {
  custom: {
    50: '#c6cc6f',
    500: '#a8b729',
    950: '#000000',
  },
}
SCSS
$custom: #a8b729;
$custom-light: #c6cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b729",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 41
  },
  "hsl": {
    "h": 66.338,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74333,
    "c": 0.15713,
    "h": 115.7
  },
  "luminance": 0.42352
}

Semantic roles & 50–950 ramp

primary
#A8B729
secondary
#7C73C9
accent
#41E653
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B729

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

Preview Lab → · Contrast checker → · Palette generator →

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