#A6B928#A6B928

#A6B928 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.6% C 0.161 H 117.2°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#A6B928
RGBrgb(166, 185, 40)
HSLhsl(68, 64%, 44%)
HSVhsv(68, 78%, 73%)
CMYKcmyk(10.3%, 0%, 78.4%, 27.5%)
CIE-LABlab(71.53, -24.23, 65.31)
CIE-LCHlch(71.53, 69.66, 110.35°)
OKLaboklab(74.63% -0.0734 0.1427)
OKLCHoklch(74.63% 0.161 117.2)
XYZxyz(33.4587, 42.9585, 8.5363)
Luminance0.4296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B928 #3B28B9
analogous
#B98428 #A6B928 #5EB928
triadic
#A6B928 #28A6B9 #B928A6
tetradic
#A6B928 #28B984 #3B28B9 #B9285E
square
#A6B928 #28B984 #3B28B9 #B9285E
split-complementary
#A6B928 #285EB9 #8428B9
monochromatic
#4C5412 #79871D #A6B928 #C4D747 #D4E279

Accessibility & contrast

On white

2.19
#A6B928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#A6B928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B928
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B928#FFFFFF#000000##000000
##A6B9281.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#B1AE9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a6b928;
/* rgb */ color: rgb(166, 185, 40);
/* oklch */ color: oklch(74.6% 0.161 117.2);
Tailwind
colors: {
  custom: {
    50: '#c4cd6f',
    500: '#a6b928',
    950: '#000000',
  },
}
SCSS
$custom: #a6b928;
$custom-light: #c4cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b928",
  "rgb": {
    "r": 166,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 67.862,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74627,
    "c": 0.16051,
    "h": 117.2
  },
  "luminance": 0.42958
}

Semantic roles & 50–950 ramp

primary
#A6B928
secondary
#7E73CA
accent
#40E756
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B928

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

Preview Lab → · Contrast checker → · Palette generator →

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