#A7BD21#A7BD21

#A7BD21 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.168 H 118.1°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#A7BD21
RGBrgb(167, 189, 33)
HSLhsl(68, 70%, 44%)
HSVhsv(68, 83%, 74%)
CMYKcmyk(11.6%, 0%, 82.5%, 25.9%)
CIE-LABlab(72.71, -26.01, 68.29)
CIE-LCHlch(72.71, 73.07, 110.85°)
OKLaboklab(75.59% -0.0788 0.1479)
OKLCHoklch(75.59% 0.168 118.1)
XYZxyz(34.4093, 44.7208, 8.2578)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BD21 #3721BD
analogous
#BD8521 #A7BD21 #59BD21
triadic
#A7BD21 #21A7BD #BD21A7
tetradic
#A7BD21 #21BD85 #3721BD #BD2159
square
#A7BD21 #21BD85 #3721BD #BD2159
split-complementary
#A7BD21 #2159BD #8521BD
monochromatic
#4B550F #798918 #A7BD21 #C7DD3E #D6E672

Accessibility & contrast

On white

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

On black

9.94
#A7BD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BD21
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BD21#FFFFFF#000000##000000
##A7BD211.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C8B332
Tritanopia (blue-blind)
#B2B2A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bd21;
/* rgb */ color: rgb(167, 189, 33);
/* oklch */ color: oklch(75.6% 0.168 118.1);
Tailwind
colors: {
  custom: {
    50: '#c5d06d',
    500: '#a7bd21',
    950: '#000000',
  },
}
SCSS
$custom: #a7bd21;
$custom-light: #c5d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bd21",
  "rgb": {
    "r": 167,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 68.462,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.75586,
    "c": 0.16758,
    "h": 118.1
  },
  "luminance": 0.4472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7BD21

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

Preview Lab → · Contrast checker → · Palette generator →

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