#A6BC28#A6BC28

#A6BC28 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.164 H 118.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#A6BC28
RGBrgb(166, 188, 40)
HSLhsl(69, 65%, 45%)
HSVhsv(69, 79%, 74%)
CMYKcmyk(11.7%, 0%, 78.7%, 26.3%)
CIE-LABlab(72.38, -25.69, 66.08)
CIE-LCHlch(72.38, 70.90, 111.24°)
OKLaboklab(75.31% -0.0774 0.1444)
OKLCHoklch(75.31% 0.164 118.2)
XYZxyz(34.0929, 44.2270, 8.7477)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC28 #3E28BC
analogous
#BC8828 #A6BC28 #5CBC28
triadic
#A6BC28 #28A6BC #BC28A6
tetradic
#A6BC28 #28BC88 #3E28BC #BC285C
square
#A6BC28 #28BC88 #3E28BC #BC285C
split-complementary
#A6BC28 #285CBC #8828BC
monochromatic
#4D5713 #798A1D #A6BC28 #C3D849 #D4E37B

Accessibility & contrast

On white

2.13
#A6BC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#A6BC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC28
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC28#FFFFFF#000000##000000
##A6BC281.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B237
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bc28;
/* rgb */ color: rgb(166, 188, 40);
/* oklch */ color: oklch(75.3% 0.164 118.2);
Tailwind
colors: {
  custom: {
    50: '#c4d06f',
    500: '#a6bc28',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc28;
$custom-light: #c4d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc28",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 68.919,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75313,
    "c": 0.16382,
    "h": 118.2
  },
  "luminance": 0.44227
}

Semantic roles & 50–950 ramp

primary
#A6BC28
secondary
#8275CB
accent
#40E859
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BC28

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

Preview Lab → · Contrast checker → · Palette generator →

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