#A7BB42#A7BB42

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

Color values

HEX#A7BB42
RGBrgb(167, 187, 66)
HSLhsl(70, 48%, 50%)
HSVhsv(70, 65%, 73%)
CMYKcmyk(10.7%, 0%, 64.7%, 26.7%)
CIE-LABlab(72.33, -23.40, 56.81)
CIE-LCHlch(72.33, 61.44, 112.39°)
OKLaboklab(75.34% -0.0688 0.129)
OKLCHoklch(75.34% 0.146 118.1)
XYZxyz(34.6907, 44.1498, 11.8474)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB42 #5642BB
analogous
#BB9242 #A7BB42 #6BBB42
triadic
#A7BB42 #42A7BB #BB42A7
tetradic
#A7BB42 #42BB92 #5642BB #BB426B
square
#A7BB42 #42BB92 #5642BB #BB426B
split-complementary
#A7BB42 #426BBB #9242BB
monochromatic
#566122 #7F8E32 #A7BB42 #BCCC6E #D1DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BB42#FFFFFF#000000##000000
##A7BB421.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)
#C7B132
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#B1B1A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7bb42;
/* rgb */ color: rgb(167, 187, 66);
/* oklch */ color: oklch(75.3% 0.146 118.1);
Tailwind
colors: {
  custom: {
    50: '#c4cf7c',
    500: '#a7bb42',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb42;
$custom-light: #c4cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb42",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 69.917,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75341,
    "c": 0.14625,
    "h": 118.1
  },
  "luminance": 0.44149
}

Semantic roles & 50–950 ramp

primary
#A7BB42
secondary
#9A91C8
accent
#50D767
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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