#A7BE31#A7BE31

#A7BE31 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 75.9% C 0.161 H 118.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#A7BE31
RGBrgb(167, 190, 49)
HSLhsl(70, 59%, 47%)
HSVhsv(70, 74%, 75%)
CMYKcmyk(12.1%, 0%, 74.2%, 25.5%)
CIE-LABlab(73.07, -25.85, 63.92)
CIE-LCHlch(73.07, 68.95, 112.02°)
OKLaboklab(75.9% -0.0772 0.1413)
OKLCHoklch(75.9% 0.161 118.6)
XYZxyz(34.9049, 45.2644, 9.8032)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BE31 #4831BE
analogous
#BE8F31 #A7BE31 #61BE31
triadic
#A7BE31 #31A7BE #BE31A7
tetradic
#A7BE31 #31BE8F #4831BE #BE3161
square
#A7BE31 #31BE8F #4831BE #BE3161
split-complementary
#A7BE31 #3161BE #8F31BE
monochromatic
#515D18 #7C8D24 #A7BE31 #C0D458 #D2E189

Accessibility & contrast

On white

2.09
#A7BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#A7BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BE31
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BE31#FFFFFF#000000##000000
##A7BE311.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#B1B3A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a7be31;
/* rgb */ color: rgb(167, 190, 49);
/* oklch */ color: oklch(75.9% 0.161 118.6);
Tailwind
colors: {
  custom: {
    50: '#c5d174',
    500: '#a7be31',
    950: '#000000',
  },
}
SCSS
$custom: #a7be31;
$custom-light: #c5d174;
$custom-dark: #000000;
JSON
{
  "hex": "#a7be31",
  "rgb": {
    "r": 167,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 69.787,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75897,
    "c": 0.16102,
    "h": 118.6
  },
  "luminance": 0.45264
}

Semantic roles & 50–950 ramp

primary
#A7BE31
secondary
#8C80CA
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A7BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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