#A7BB40#A7BB40

#A7BB40 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.148 H 118.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#A7BB40
RGBrgb(167, 187, 64)
HSLhsl(70, 49%, 49%)
HSVhsv(70, 66%, 73%)
CMYKcmyk(10.7%, 0%, 65.8%, 26.7%)
CIE-LABlab(72.31, -23.54, 57.61)
CIE-LCHlch(72.31, 62.23, 112.22°)
OKLaboklab(75.32% -0.0694 0.1304)
OKLCHoklch(75.32% 0.148 118)
XYZxyz(34.6328, 44.1266, 11.5423)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB40 #5440BB
analogous
#BB9240 #A7BB40 #6ABB40
triadic
#A7BB40 #40A7BB #BB40A7
tetradic
#A7BB40 #40BB92 #5440BB #BB406A
square
#A7BB40 #40BB92 #5440BB #BB406A
split-complementary
#A7BB40 #406ABB #9240BB
monochromatic
#566021 #7E8D30 #A7BB40 #BDCD6C #D1DC99

Accessibility & contrast

On white

2.14
#A7BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#A7BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BB40
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BB40#FFFFFF#000000##000000
##A7BB401.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#B1B1A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7bb40;
/* rgb */ color: rgb(167, 187, 64);
/* oklch */ color: oklch(75.3% 0.148 118.0);
Tailwind
colors: {
  custom: {
    50: '#c4cf7b',
    500: '#a7bb40',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb40;
$custom-light: #c4cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb40",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 69.756,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75324,
    "c": 0.14774,
    "h": 118
  },
  "luminance": 0.44126
}

Semantic roles & 50–950 ramp

primary
#A7BB40
secondary
#988FC8
accent
#4FD966
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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