#A6B428#A6B428

#A6B428 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.155 H 115.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A6B428
RGBrgb(166, 180, 40)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 71%)
CMYKcmyk(7.8%, 0%, 77.8%, 29.4%)
CIE-LABlab(70.11, -21.77, 64.02)
CIE-LCHlch(70.11, 67.62, 108.78°)
OKLaboklab(73.49% -0.0666 0.14)
OKLCHoklch(73.49% 0.155 115.4)
XYZxyz(32.4311, 40.9033, 8.1938)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B428 #3628B4
analogous
#B47C28 #A6B428 #60B428
triadic
#A6B428 #28A6B4 #B428A6
tetradic
#A6B428 #28B47C #3628B4 #B42860
square
#A6B428 #28B47C #3628B4 #B42860
split-complementary
#A6B428 #2860B4 #7C28B4
monochromatic
#4A5012 #78821D #A6B428 #C7D544 #D6E176

Accessibility & contrast

On white

2.29
#A6B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A6B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B428
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B428#FFFFFF#000000##000000
##A6B4281.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b428;
/* rgb */ color: rgb(166, 180, 40);
/* oklch */ color: oklch(73.5% 0.155 115.4);
Tailwind
colors: {
  custom: {
    50: '#c4ca6e',
    500: '#a6b428',
    950: '#000000',
  },
}
SCSS
$custom: #a6b428;
$custom-light: #c4ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b428",
  "rgb": {
    "r": 166,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 66,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73487,
    "c": 0.15504,
    "h": 115.4
  },
  "luminance": 0.40903
}

Semantic roles & 50–950 ramp

primary
#A6B428
secondary
#7970C8
accent
#41E752
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B428

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

Preview Lab → · Contrast checker → · Palette generator →

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