#A7BB2B#A7BB2B

#A7BB2B is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.2% C 0.161 H 117.5°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#A7BB2B
RGBrgb(167, 187, 43)
HSLhsl(68, 63%, 45%)
HSVhsv(68, 77%, 73%)
CMYKcmyk(10.7%, 0%, 77%, 26.7%)
CIE-LABlab(72.18, -24.66, 65.03)
CIE-LCHlch(72.18, 69.55, 110.77°)
OKLaboklab(75.18% -0.0744 0.1426)
OKLCHoklch(75.18% 0.161 117.5)
XYZxyz(34.1436, 43.9309, 8.9659)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB2B #3F2BBB
analogous
#BB872B #A7BB2B #5FBB2B
triadic
#A7BB2B #2BA7BB #BB2BA7
tetradic
#A7BB2B #2BBB87 #3F2BBB #BB2B5F
square
#A7BB2B #2BBB87 #3F2BBB #BB2B5F
split-complementary
#A7BB2B #2B5FBB #872BBB
monochromatic
#4E5714 #7B8920 #A7BB2B #C3D64D #D4E27F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BB2B#FFFFFF#000000##000000
##A7BB2B1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7bb2b;
/* rgb */ color: rgb(167, 187, 43);
/* oklch */ color: oklch(75.2% 0.161 117.5);
Tailwind
colors: {
  custom: {
    50: '#c5cf71',
    500: '#a7bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb2b;
$custom-light: #c5cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb2b",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 68.333,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75177,
    "c": 0.16087,
    "h": 117.5
  },
  "luminance": 0.43931
}

Semantic roles & 50–950 ramp

primary
#A7BB2B
secondary
#8378CA
accent
#42E659
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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