#A7BF2F#A7BF2F

#A7BF2F is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 76.1% C 0.163 H 118.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#A7BF2F
RGBrgb(167, 191, 47)
HSLhsl(70, 61%, 47%)
HSVhsv(70, 75%, 75%)
CMYKcmyk(12.6%, 0%, 75.4%, 25.1%)
CIE-LABlab(73.34, -26.42, 64.84)
CIE-LCHlch(73.34, 70.01, 112.17°)
OKLaboklab(76.11% -0.0789 0.1429)
OKLCHoklch(76.11% 0.163 118.9)
XYZxyz(35.0810, 45.6826, 9.6583)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BF2F #472FBF
analogous
#BF8F2F #A7BF2F #5FBF2F
triadic
#A7BF2F #2FA7BF #BF2FA7
tetradic
#A7BF2F #2FBF8F #472FBF #BF2F5F
square
#A7BF2F #2FBF8F #472FBF #BF2F5F
split-complementary
#A7BF2F #2F5FBF #8F2FBF
monochromatic
#515D17 #7C8E23 #A7BF2F #C0D556 #D2E187

Accessibility & contrast

On white

2.07
#A7BF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#A7BF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BF2F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BF2F#FFFFFF#000000##000000
##A7BF2F1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB40B
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#B1B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a7bf2f;
/* rgb */ color: rgb(167, 191, 47);
/* oklch */ color: oklch(76.1% 0.163 118.9);
Tailwind
colors: {
  custom: {
    50: '#c5d273',
    500: '#a7bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #a7bf2f;
$custom-light: #c5d273;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bf2f",
  "rgb": {
    "r": 167,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 70,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76114,
    "c": 0.16326,
    "h": 118.9
  },
  "luminance": 0.45682
}

Semantic roles & 50–950 ramp

primary
#A7BF2F
secondary
#8B7FCB
accent
#44E45F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A7BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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