#A8B829#A8B829

#A8B829 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.158 H 116.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#A8B829
RGBrgb(168, 184, 41)
HSLhsl(67, 64%, 44%)
HSVhsv(67, 78%, 72%)
CMYKcmyk(8.7%, 0%, 77.7%, 27.8%)
CIE-LABlab(71.40, -22.85, 64.95)
CIE-LCHlch(71.40, 68.85, 109.39°)
OKLaboklab(74.56% -0.0696 0.1421)
OKLCHoklch(74.56% 0.158 116.1)
XYZxyz(33.6901, 42.7664, 8.5774)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B829 #3929B8
analogous
#B88129 #A8B829 #61B829
triadic
#A8B829 #29A8B8 #B829A8
tetradic
#A8B829 #29B881 #3929B8 #B82961
square
#A8B829 #29B881 #3929B8 #B82961
split-complementary
#A8B829 #2961B8 #8129B8
monochromatic
#4D5413 #7A861E #A8B829 #C6D648 #D6E17A

Accessibility & contrast

On white

2.20
#A8B829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#A8B829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B829
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B829#FFFFFF#000000##000000
##A8B8291.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b829;
/* rgb */ color: rgb(168, 184, 41);
/* oklch */ color: oklch(74.6% 0.158 116.1);
Tailwind
colors: {
  custom: {
    50: '#c6cd6f',
    500: '#a8b829',
    950: '#000000',
  },
}
SCSS
$custom: #a8b829;
$custom-light: #c6cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b829",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 41
  },
  "hsl": {
    "h": 66.713,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7456,
    "c": 0.15822,
    "h": 116.1
  },
  "luminance": 0.42766
}

Semantic roles & 50–950 ramp

primary
#A8B829
secondary
#7D73C9
accent
#41E754
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B829

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

Preview Lab → · Contrast checker → · Palette generator →

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