#A8BB40#A8BB40

#A8BB40 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.4% C 0.147 H 117.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#A8BB40
RGBrgb(168, 187, 64)
HSLhsl(69, 49%, 49%)
HSVhsv(69, 66%, 73%)
CMYKcmyk(10.2%, 0%, 65.8%, 26.7%)
CIE-LABlab(72.39, -23.12, 57.71)
CIE-LCHlch(72.39, 62.17, 111.83°)
OKLaboklab(75.4% -0.0683 0.1306)
OKLCHoklch(75.4% 0.147 117.6)
XYZxyz(34.8449, 44.2360, 11.5523)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB40 #5340BB
analogous
#BB9140 #A8BB40 #6BBB40
triadic
#A8BB40 #40A8BB #BB40A8
tetradic
#A8BB40 #40BB91 #5340BB #BB406B
square
#A8BB40 #40BB91 #5340BB #BB406B
split-complementary
#A8BB40 #406BBB #9140BB
monochromatic
#566021 #7F8D30 #A8BB40 #BECD6C #D2DC99

Accessibility & contrast

On white

2.13
#A8BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#A8BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BB40
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BB40#FFFFFF#000000##000000
##A8BB401.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#B2B1A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8bb40;
/* rgb */ color: rgb(168, 187, 64);
/* oklch */ color: oklch(75.4% 0.147 117.6);
Tailwind
colors: {
  custom: {
    50: '#c5cf7b',
    500: '#a8bb40',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb40;
$custom-light: #c5cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb40",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 69.268,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.754,
    "c": 0.1474,
    "h": 117.6
  },
  "luminance": 0.44236
}

Semantic roles & 50–950 ramp

primary
#A8BB40
secondary
#988FC8
accent
#4FD964
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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