#A8BD28#A8BD28

#A8BD28 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.7% C 0.164 H 117.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#A8BD28
RGBrgb(168, 189, 40)
HSLhsl(68, 65%, 45%)
HSVhsv(68, 79%, 74%)
CMYKcmyk(11.1%, 0%, 78.8%, 25.9%)
CIE-LABlab(72.81, -25.34, 66.52)
CIE-LCHlch(72.81, 71.18, 110.85°)
OKLaboklab(75.69% -0.0765 0.1453)
OKLCHoklch(75.69% 0.164 117.8)
XYZxyz(34.7299, 44.8736, 8.8390)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BD28 #3D28BD
analogous
#BD8728 #A8BD28 #5EBD28
triadic
#A8BD28 #28A8BD #BD28A8
tetradic
#A8BD28 #28BD87 #3D28BD #BD285E
square
#A8BD28 #28BD87 #3D28BD #BD285E
split-complementary
#A8BD28 #285EBD #8728BD
monochromatic
#4E5813 #7B8A1D #A8BD28 #C4D94A #D5E37C

Accessibility & contrast

On white

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

On black

9.97
#A8BD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BD28
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BD28#FFFFFF#000000##000000
##A8BD281.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#B3B2A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a8bd28;
/* rgb */ color: rgb(168, 189, 40);
/* oklch */ color: oklch(75.7% 0.164 117.8);
Tailwind
colors: {
  custom: {
    50: '#c6d06f',
    500: '#a8bd28',
    950: '#000000',
  },
}
SCSS
$custom: #a8bd28;
$custom-light: #c6d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bd28",
  "rgb": {
    "r": 168,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 68.456,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75694,
    "c": 0.16418,
    "h": 117.8
  },
  "luminance": 0.44873
}

Semantic roles & 50–950 ramp

primary
#A8BD28
secondary
#8175CB
accent
#40E857
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8BD28

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

Preview Lab → · Contrast checker → · Palette generator →

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