#A7BF52#A7BF52

#A7BF52 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.4% C 0.138 H 120.2°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#A7BF52
RGBrgb(167, 191, 82)
HSLhsl(73, 46%, 54%)
HSVhsv(73, 57%, 75%)
CMYKcmyk(12.6%, 0%, 57.1%, 25.1%)
CIE-LABlab(73.60, -24.15, 51.25)
CIE-LCHlch(73.60, 56.65, 115.23°)
OKLaboklab(76.41% -0.0693 0.1193)
OKLCHoklch(76.41% 0.138 120.2)
XYZxyz(36.0905, 46.0864, 14.9753)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BF52 #6A52BF
analogous
#BFA052 #A7BF52 #70BF52
triadic
#A7BF52 #52A7BF #BF52A7
tetradic
#A7BF52 #52BFA0 #6A52BF #BF5270
square
#A7BF52 #52BFA0 #6A52BF #BF5270
split-complementary
#A7BF52 #5270BF #A052BF
monochromatic
#5F6E29 #859B39 #A7BF52 #BED07F #D4E0AB

Accessibility & contrast

On white

2.06
#A7BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#A7BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BF52
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BF52#FFFFFF#000000##000000
##A7BF521.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#AFB6A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a7bf52;
/* rgb */ color: rgb(167, 191, 82);
/* oklch */ color: oklch(76.4% 0.138 120.2);
Tailwind
colors: {
  custom: {
    50: '#c3d286',
    500: '#a7bf52',
    950: '#000000',
  },
}
SCSS
$custom: #a7bf52;
$custom-light: #c3d286;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bf52",
  "rgb": {
    "r": 167,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 73.211,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76409,
    "c": 0.13795,
    "h": 120.2
  },
  "luminance": 0.46086
}

Semantic roles & 50–950 ramp

primary
#A7BF52
secondary
#A99FCE
accent
#52D66F
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #A7BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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