#A7BC31#A7BC31

#A7BC31 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.4% C 0.159 H 118.0°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#A7BC31
RGBrgb(167, 188, 49)
HSLhsl(69, 59%, 46%)
HSVhsv(69, 74%, 74%)
CMYKcmyk(11.2%, 0%, 73.9%, 26.3%)
CIE-LABlab(72.50, -24.88, 63.38)
CIE-LCHlch(72.50, 68.09, 111.43°)
OKLaboklab(75.44% -0.0745 0.1402)
OKLCHoklch(75.44% 0.159 118)
XYZxyz(34.4747, 44.4040, 9.6598)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC31 #4631BC
analogous
#BC8C31 #A7BC31 #62BC31
triadic
#A7BC31 #31A7BC #BC31A7
tetradic
#A7BC31 #31BC8C #4631BC #BC3162
square
#A7BC31 #31BC8C #4631BC #BC3162
split-complementary
#A7BC31 #3162BC #8C31BC
monochromatic
#515B18 #7C8B24 #A7BC31 #C0D357 #D3E088

Accessibility & contrast

On white

2.13
#A7BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#A7BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BC31
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BC31#FFFFFF#000000##000000
##A7BC311.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc31;
/* rgb */ color: rgb(167, 188, 49);
/* oklch */ color: oklch(75.4% 0.159 118.0);
Tailwind
colors: {
  custom: {
    50: '#c5d073',
    500: '#a7bc31',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc31;
$custom-light: #c5d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc31",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 69.065,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7544,
    "c": 0.15875,
    "h": 118
  },
  "luminance": 0.44404
}

Semantic roles & 50–950 ramp

primary
#A7BC31
secondary
#8A7FCA
accent
#46E25E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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