#A6BD28#A6BD28

#A6BD28 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.5% C 0.165 H 118.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#A6BD28
RGBrgb(166, 189, 40)
HSLhsl(69, 65%, 45%)
HSVhsv(69, 79%, 74%)
CMYKcmyk(12.2%, 0%, 78.8%, 25.9%)
CIE-LABlab(72.66, -26.17, 66.34)
CIE-LCHlch(72.66, 71.31, 111.53°)
OKLaboklab(75.54% -0.0787 0.1449)
OKLCHoklch(75.54% 0.165 118.5)
XYZxyz(34.3073, 44.6557, 8.8192)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BD28 #3F28BD
analogous
#BD8A28 #A6BD28 #5BBD28
triadic
#A6BD28 #28A6BD #BD28A6
tetradic
#A6BD28 #28BD8A #3F28BD #BD285B
square
#A6BD28 #28BD8A #3F28BD #BD285B
split-complementary
#A6BD28 #285BBD #8A28BD
monochromatic
#4D5813 #7A8A1D #A6BD28 #C3D94A #D3E37C

Accessibility & contrast

On white

2.11
#A6BD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#A6BD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BD28
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BD28#FFFFFF#000000##000000
##A6BD281.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#B0B2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bd28;
/* rgb */ color: rgb(166, 189, 40);
/* oklch */ color: oklch(75.5% 0.165 118.5);
Tailwind
colors: {
  custom: {
    50: '#c4d06f',
    500: '#a6bd28',
    950: '#000000',
  },
}
SCSS
$custom: #a6bd28;
$custom-light: #c4d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bd28",
  "rgb": {
    "r": 166,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 69.262,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75542,
    "c": 0.16493,
    "h": 118.5
  },
  "luminance": 0.44655
}

Semantic roles & 50–950 ramp

primary
#A6BD28
secondary
#8375CB
accent
#40E85A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6BD28

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

Preview Lab → · Contrast checker → · Palette generator →

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