#A7BB22#A7BB22

#A7BB22 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#A7BB22
RGBrgb(167, 187, 34)
HSLhsl(68, 69%, 43%)
HSVhsv(68, 82%, 73%)
CMYKcmyk(10.7%, 0%, 81.8%, 26.7%)
CIE-LABlab(72.14, -25.00, 67.54)
CIE-LCHlch(72.14, 72.02, 110.31°)
OKLaboklab(75.13% -0.076 0.1465)
OKLCHoklch(75.13% 0.165 117.4)
XYZxyz(33.9963, 43.8720, 8.1903)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB22 #3622BB
analogous
#BB8222 #A7BB22 #5ABB22
triadic
#A7BB22 #22A7BB #BB22A7
tetradic
#A7BB22 #22BB82 #3622BB #BB225A
square
#A7BB22 #22BB82 #3622BB #BB225A
split-complementary
#A7BB22 #225ABB #8222BB
monochromatic
#4B530F #798719 #A7BB22 #C7DC3E #D6E572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BB22#FFFFFF#000000##000000
##A7BB221.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: #a7bb22;
/* rgb */ color: rgb(167, 187, 34);
/* oklch */ color: oklch(75.1% 0.165 117.4);
Tailwind
colors: {
  custom: {
    50: '#c5cf6d',
    500: '#a7bb22',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb22;
$custom-light: #c5cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb22",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 34
  },
  "hsl": {
    "h": 67.843,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.75132,
    "c": 0.165,
    "h": 117.4
  },
  "luminance": 0.43872
}

Semantic roles & 50–950 ramp

primary
#A7BB22
secondary
#796DCC
accent
#3CEC53
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BB22

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

Preview Lab → · Contrast checker → · Palette generator →

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