#A8BD21#A8BD21

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

Color values

HEX#A8BD21
RGBrgb(168, 189, 33)
HSLhsl(68, 70%, 44%)
HSVhsv(68, 83%, 74%)
CMYKcmyk(11.1%, 0%, 82.5%, 25.9%)
CIE-LABlab(72.78, -25.59, 68.38)
CIE-LCHlch(72.78, 73.01, 110.52°)
OKLaboklab(75.66% -0.0777 0.148)
OKLCHoklch(75.66% 0.167 117.7)
XYZxyz(34.6215, 44.8302, 8.2678)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BD21 #3621BD
analogous
#BD8421 #A8BD21 #5ABD21
triadic
#A8BD21 #21A8BD #BD21A8
tetradic
#A8BD21 #21BD84 #3621BD #BD215A
square
#A8BD21 #21BD84 #3621BD #BD215A
split-complementary
#A8BD21 #215ABD #8421BD
monochromatic
#4B550F #7A8918 #A8BD21 #C8DD3E #D7E672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BD21#FFFFFF#000000##000000
##A8BD211.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)
#C8B332
Tritanopia (blue-blind)
#B3B2A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a8bd21;
/* rgb */ color: rgb(168, 189, 33);
/* oklch */ color: oklch(75.7% 0.167 117.7);
Tailwind
colors: {
  custom: {
    50: '#c6d06d',
    500: '#a8bd21',
    950: '#000000',
  },
}
SCSS
$custom: #a8bd21;
$custom-light: #c6d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bd21",
  "rgb": {
    "r": 168,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 68.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.75662,
    "c": 0.16721,
    "h": 117.7
  },
  "luminance": 0.4483
}

Semantic roles & 50–950 ramp

primary
#A8BD21
secondary
#7A6DCD
accent
#3BED53
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A8BD21

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

Preview Lab → · Contrast checker → · Palette generator →

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