#A8BA28#A8BA28

#A8BA28 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.161 H 116.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A8BA28
RGBrgb(168, 186, 40)
HSLhsl(67, 65%, 44%)
HSVhsv(67, 78%, 73%)
CMYKcmyk(9.7%, 0%, 78.5%, 27.1%)
CIE-LABlab(71.96, -23.88, 65.75)
CIE-LCHlch(71.96, 69.95, 109.96°)
OKLaboklab(75.01% -0.0725 0.1436)
OKLCHoklch(75.01% 0.161 116.8)
XYZxyz(34.0913, 43.5963, 8.6261)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA28 #3A28BA
analogous
#BA8328 #A8BA28 #5FBA28
triadic
#A8BA28 #28A8BA #BA28A8
tetradic
#A8BA28 #28BA83 #3A28BA #BA285F
square
#A8BA28 #28BA83 #3A28BA #BA285F
split-complementary
#A8BA28 #285FBA #8328BA
monochromatic
#4D5512 #7B881D #A8BA28 #C6D848 #D6E27A

Accessibility & contrast

On white

2.16
#A8BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A8BA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA28
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA28#FFFFFF#000000##000000
##A8BA281.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C6B136
Tritanopia (blue-blind)
#B3AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8ba28;
/* rgb */ color: rgb(168, 186, 40);
/* oklch */ color: oklch(75.0% 0.161 116.8);
Tailwind
colors: {
  custom: {
    50: '#c6ce6f',
    500: '#a8ba28',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba28;
$custom-light: #c6ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba28",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 67.397,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7501,
    "c": 0.16089,
    "h": 116.8
  },
  "luminance": 0.43596
}

Semantic roles & 50–950 ramp

primary
#A8BA28
secondary
#7E73CA
accent
#40E855
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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