#A8B928#A8B928

#A8B928 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.160 H 116.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#A8B928
RGBrgb(168, 185, 40)
HSLhsl(67, 64%, 44%)
HSVhsv(67, 78%, 73%)
CMYKcmyk(9.2%, 0%, 78.4%, 27.5%)
CIE-LABlab(71.67, -23.38, 65.50)
CIE-LCHlch(71.67, 69.55, 109.65°)
OKLaboklab(74.78% -0.0712 0.1431)
OKLCHoklch(74.78% 0.16 116.4)
XYZxyz(33.8813, 43.1764, 8.5561)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B928 #3928B9
analogous
#B98128 #A8B928 #60B928
triadic
#A8B928 #28A8B9 #B928A8
tetradic
#A8B928 #28B981 #3928B9 #B92860
square
#A8B928 #28B981 #3928B9 #B92860
split-complementary
#A8B928 #2860B9 #8128B9
monochromatic
#4D5412 #7A871D #A8B928 #C6D747 #D6E279

Accessibility & contrast

On white

2.18
#A8B928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#A8B928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B928
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B928#FFFFFF#000000##000000
##A8B9281.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#B3AE9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8b928;
/* rgb */ color: rgb(168, 185, 40);
/* oklch */ color: oklch(74.8% 0.160 116.4);
Tailwind
colors: {
  custom: {
    50: '#c6cd6f',
    500: '#a8b928',
    950: '#000000',
  },
}
SCSS
$custom: #a8b928;
$custom-light: #c6cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b928",
  "rgb": {
    "r": 168,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 67.034,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74782,
    "c": 0.1598,
    "h": 116.4
  },
  "luminance": 0.43176
}

Semantic roles & 50–950 ramp

primary
#A8B928
secondary
#7D73CA
accent
#40E754
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B928

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

Preview Lab → · Contrast checker → · Palette generator →

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