#A6B229#A6B229

#A6B229 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.152 H 114.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#A6B229
RGBrgb(166, 178, 41)
HSLhsl(65, 63%, 43%)
HSVhsv(65, 77%, 70%)
CMYKcmyk(6.7%, 0%, 77%, 30.2%)
CIE-LABlab(69.55, -20.73, 63.20)
CIE-LCHlch(69.55, 66.52, 108.16°)
OKLaboklab(73.04% -0.0636 0.1384)
OKLCHoklch(73.04% 0.152 114.7)
XYZxyz(32.0475, 40.1085, 8.1509)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B229 #3529B2
analogous
#B27929 #A6B229 #62B229
triadic
#A6B229 #29A6B2 #B229A6
tetradic
#A6B229 #29B279 #3529B2 #B22962
square
#A6B229 #29B279 #3529B2 #B22962
split-complementary
#A6B229 #2962B2 #7929B2
monochromatic
#494F12 #78801E #A6B229 #C7D444 #D6DF76

Accessibility & contrast

On white

2.33
#A6B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#A6B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B229
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B229#FFFFFF#000000##000000
##A6B2291.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b229;
/* rgb */ color: rgb(166, 178, 41);
/* oklch */ color: oklch(73.0% 0.152 114.7);
Tailwind
colors: {
  custom: {
    50: '#c4c86e',
    500: '#a6b229',
    950: '#000000',
  },
}
SCSS
$custom: #a6b229;
$custom-light: #c4c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b229",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 65.255,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.15237,
    "h": 114.7
  },
  "luminance": 0.40108
}

Semantic roles & 50–950 ramp

primary
#A6B229
secondary
#7770C7
accent
#42E650
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B229

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

Preview Lab → · Contrast checker → · Palette generator →

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