#A8B129#A8B129

#A8B129 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.151 H 113.5°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A8B129
RGBrgb(168, 177, 41)
HSLhsl(64, 62%, 43%)
HSVhsv(64, 77%, 69%)
CMYKcmyk(5.1%, 0%, 76.8%, 30.6%)
CIE-LABlab(69.42, -19.37, 63.14)
CIE-LCHlch(69.42, 66.05, 107.05°)
OKLaboklab(72.97% -0.06 0.1383)
OKLCHoklch(72.97% 0.151 113.5)
XYZxyz(32.2718, 39.9299, 8.1046)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B129 #3229B1
analogous
#B17629 #A8B129 #64B129
triadic
#A8B129 #29A8B1 #B129A8
tetradic
#A8B129 #29B176 #3229B1 #B12964
square
#A8B129 #29B176 #3229B1 #B12964
split-complementary
#A8B129 #2964B1 #7629B1
monochromatic
#4A4E12 #797F1D #A8B129 #CAD444 #D8DF75

Accessibility & contrast

On white

2.34
#A8B129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A8B129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B129
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B129#FFFFFF#000000##000000
##A8B1291.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA802
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#B4A698
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b129;
/* rgb */ color: rgb(168, 177, 41);
/* oklch */ color: oklch(73.0% 0.151 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c86e',
    500: '#a8b129',
    950: '#000000',
  },
}
SCSS
$custom: #a8b129;
$custom-light: #c5c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b129",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 41
  },
  "hsl": {
    "h": 63.971,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72974,
    "c": 0.15071,
    "h": 113.5
  },
  "luminance": 0.39929
}

Semantic roles & 50–950 ramp

primary
#A8B129
secondary
#756FC7
accent
#42E54D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B129

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

Preview Lab → · Contrast checker → · Palette generator →

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