#A7BB21#A7BB21

#A7BB21 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.1% C 0.165 H 117.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A7BB21
RGBrgb(167, 187, 33)
HSLhsl(68, 70%, 43%)
HSVhsv(68, 82%, 73%)
CMYKcmyk(10.7%, 0%, 82.4%, 26.7%)
CIE-LABlab(72.14, -25.04, 67.80)
CIE-LCHlch(72.14, 72.27, 110.27°)
OKLaboklab(75.13% -0.0761 0.1468)
OKLCHoklch(75.13% 0.165 117.4)
XYZxyz(33.9821, 43.8663, 8.1154)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB21 #3521BB
analogous
#BB8221 #A7BB21 #5ABB21
triadic
#A7BB21 #21A7BB #BB21A7
tetradic
#A7BB21 #21BB82 #3521BB #BB215A
square
#A7BB21 #21BB82 #3521BB #BB215A
split-complementary
#A7BB21 #215ABB #8221BB
monochromatic
#4A530F #798718 #A7BB21 #C8DD3D #D7E671

Accessibility & contrast

On white

2.15
#A7BB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A7BB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BB21
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BB21#FFFFFF#000000##000000
##A7BB211.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B232
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7bb21;
/* rgb */ color: rgb(167, 187, 33);
/* oklch */ color: oklch(75.1% 0.165 117.4);
Tailwind
colors: {
  custom: {
    50: '#c5cf6c',
    500: '#a7bb21',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb21;
$custom-light: #c5cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb21",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 33
  },
  "hsl": {
    "h": 67.792,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.75128,
    "c": 0.1654,
    "h": 117.4
  },
  "luminance": 0.43866
}

Semantic roles & 50–950 ramp

primary
#A7BB21
secondary
#786BCC
accent
#3BED52
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7BB21

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

Preview Lab → · Contrast checker → · Palette generator →

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