#A8B629#A8B629

#A8B629 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.156 H 115.4°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#A8B629
RGBrgb(168, 182, 41)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(7.7%, 0%, 77.5%, 28.6%)
CIE-LABlab(70.83, -21.87, 64.43)
CIE-LCHlch(70.83, 68.04, 108.74°)
OKLaboklab(74.11% -0.0669 0.141)
OKLCHoklch(74.11% 0.156 115.4)
XYZxyz(33.2776, 41.9414, 8.4399)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B629 #3729B6
analogous
#B67D29 #A8B629 #61B629
triadic
#A8B629 #29A8B6 #B629A8
tetradic
#A8B629 #29B67D #3729B6 #B62961
square
#A8B629 #29B67D #3729B6 #B62961
split-complementary
#A8B629 #2961B6 #7D29B6
monochromatic
#4C5212 #7A841E #A8B629 #C7D547 #D6E179

Accessibility & contrast

On white

2.24
#A8B629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#A8B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B629
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B629#FFFFFF#000000##000000
##A8B6291.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b629;
/* rgb */ color: rgb(168, 182, 41);
/* oklch */ color: oklch(74.1% 0.156 115.4);
Tailwind
colors: {
  custom: {
    50: '#c6cb6f',
    500: '#a8b629',
    950: '#000000',
  },
}
SCSS
$custom: #a8b629;
$custom-light: #c6cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b629",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 65.957,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74106,
    "c": 0.15605,
    "h": 115.4
  },
  "luminance": 0.41941
}

Semantic roles & 50–950 ramp

primary
#A8B629
secondary
#7B72C9
accent
#42E652
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B629

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

Preview Lab → · Contrast checker → · Palette generator →

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