#A6B629#A6B629

#A6B629 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 73.9% C 0.157 H 116.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#A6B629
RGBrgb(166, 182, 41)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(8.8%, 0%, 77.5%, 28.6%)
CIE-LABlab(70.68, -22.71, 64.24)
CIE-LCHlch(70.68, 68.14, 109.47°)
OKLaboklab(73.95% -0.0691 0.1406)
OKLCHoklch(73.95% 0.157 116.2)
XYZxyz(32.8550, 41.7235, 8.4201)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B629 #3929B6
analogous
#B67F29 #A6B629 #5FB629
triadic
#A6B629 #29A6B6 #B629A6
tetradic
#A6B629 #29B67F #3929B6 #B6295F
square
#A6B629 #29B67F #3929B6 #B6295F
split-complementary
#A6B629 #295FB6 #7F29B6
monochromatic
#4B5212 #78841E #A6B629 #C5D547 #D5E179

Accessibility & contrast

On white

2.25
#A6B629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#A6B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B629
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B629#FFFFFF#000000##000000
##A6B6291.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b629;
/* rgb */ color: rgb(166, 182, 41);
/* oklch */ color: oklch(73.9% 0.157 116.2);
Tailwind
colors: {
  custom: {
    50: '#c4cb6f',
    500: '#a6b629',
    950: '#000000',
  },
}
SCSS
$custom: #a6b629;
$custom-light: #c4cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b629",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 66.809,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73947,
    "c": 0.15672,
    "h": 116.2
  },
  "luminance": 0.41723
}

Semantic roles & 50–950 ramp

primary
#A6B629
secondary
#7C72C9
accent
#42E654
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B629

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

Preview Lab → · Contrast checker → · Palette generator →

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