#A8BB21#A8BB21

#A8BB21 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#A8BB21
RGBrgb(168, 187, 33)
HSLhsl(67, 70%, 43%)
HSVhsv(67, 82%, 73%)
CMYKcmyk(10.2%, 0%, 82.4%, 26.7%)
CIE-LABlab(72.21, -24.61, 67.89)
CIE-LCHlch(72.21, 72.21, 109.93°)
OKLaboklab(75.21% -0.075 0.147)
OKLCHoklch(75.21% 0.165 117)
XYZxyz(34.1942, 43.9757, 8.1254)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB21 #3421BB
analogous
#BB8121 #A8BB21 #5BBB21
triadic
#A8BB21 #21A8BB #BB21A8
tetradic
#A8BB21 #21BB81 #3421BB #BB215B
square
#A8BB21 #21BB81 #3421BB #BB215B
split-complementary
#A8BB21 #215BBB #8121BB
monochromatic
#4B530F #798718 #A8BB21 #C9DD3D #D7E671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BB21#FFFFFF#000000##000000
##A8BB211.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)
#C7B232
Tritanopia (blue-blind)
#B3B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8bb21;
/* rgb */ color: rgb(168, 187, 33);
/* oklch */ color: oklch(75.2% 0.165 117.0);
Tailwind
colors: {
  custom: {
    50: '#c6cf6c',
    500: '#a8bb21',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb21;
$custom-light: #c6cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb21",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 33
  },
  "hsl": {
    "h": 67.403,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.75205,
    "c": 0.16504,
    "h": 117
  },
  "luminance": 0.43975
}

Semantic roles & 50–950 ramp

primary
#A8BB21
secondary
#776BCC
accent
#3BED51
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BB21

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

Preview Lab → · Contrast checker → · Palette generator →

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