#A8BB20#A8BB20

#A8BB20 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.2% C 0.165 H 117.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#A8BB20
RGBrgb(168, 187, 32)
HSLhsl(67, 71%, 43%)
HSVhsv(67, 83%, 73%)
CMYKcmyk(10.2%, 0%, 82.9%, 26.7%)
CIE-LABlab(72.21, -24.65, 68.13)
CIE-LCHlch(72.21, 72.45, 109.89°)
OKLaboklab(75.2% -0.0752 0.1474)
OKLCHoklch(75.2% 0.165 117)
XYZxyz(34.1804, 43.9702, 8.0527)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB20 #3320BB
analogous
#BB8020 #A8BB20 #5ABB20
triadic
#A8BB20 #20A8BB #BB20A8
tetradic
#A8BB20 #20BB80 #3320BB #BB205A
square
#A8BB20 #20BB80 #3320BB #BB205A
split-complementary
#A8BB20 #205ABB #8020BB
monochromatic
#4A520E #798717 #A8BB20 #C9DD3B #D8E66F

Accessibility & contrast

On white

2.14
#A8BB20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#A8BB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BB20
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BB20#FFFFFF#000000##000000
##A8BB201.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C7B231
Tritanopia (blue-blind)
#B3B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8bb20;
/* rgb */ color: rgb(168, 187, 32);
/* oklch */ color: oklch(75.2% 0.165 117.0);
Tailwind
colors: {
  custom: {
    50: '#c6cf6c',
    500: '#a8bb20',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb20;
$custom-light: #c6cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb20",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 32
  },
  "hsl": {
    "h": 67.355,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.75201,
    "c": 0.16543,
    "h": 117
  },
  "luminance": 0.4397
}

Semantic roles & 50–950 ramp

primary
#A8BB20
secondary
#766ACD
accent
#3AEE50
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8BB20

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

Preview Lab → · Contrast checker → · Palette generator →

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