#A7BB31#A7BB31

#A7BB31 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.2% C 0.158 H 117.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#A7BB31
RGBrgb(167, 187, 49)
HSLhsl(69, 58%, 46%)
HSVhsv(69, 74%, 73%)
CMYKcmyk(10.7%, 0%, 73.8%, 26.7%)
CIE-LABlab(72.21, -24.39, 63.11)
CIE-LCHlch(72.21, 67.66, 111.13°)
OKLaboklab(75.21% -0.0732 0.1396)
OKLCHoklch(75.21% 0.158 117.7)
XYZxyz(34.2619, 43.9783, 9.5889)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BB31 #4531BB
analogous
#BB8A31 #A7BB31 #62BB31
triadic
#A7BB31 #31A7BB #BB31A7
tetradic
#A7BB31 #31BB8A #4531BB #BB3162
square
#A7BB31 #31BB8A #4531BB #BB3162
split-complementary
#A7BB31 #3162BB #8A31BB
monochromatic
#505A18 #7C8B24 #A7BB31 #C1D356 #D3E087

Accessibility & contrast

On white

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

On black

9.80
#A7BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BB31
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BB31#FFFFFF#000000##000000
##A7BB311.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B1B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7bb31;
/* rgb */ color: rgb(167, 187, 49);
/* oklch */ color: oklch(75.2% 0.158 117.7);
Tailwind
colors: {
  custom: {
    50: '#c5cf73',
    500: '#a7bb31',
    950: '#000000',
  },
}
SCSS
$custom: #a7bb31;
$custom-light: #c5cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bb31",
  "rgb": {
    "r": 167,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 68.696,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75212,
    "c": 0.15761,
    "h": 117.7
  },
  "luminance": 0.43978
}

Semantic roles & 50–950 ramp

primary
#A7BB31
secondary
#897FC9
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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