#A4BF2F#A4BF2F

#A4BF2F is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.9% C 0.164 H 120.0°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#A4BF2F
RGBrgb(164, 191, 47)
HSLhsl(71, 61%, 47%)
HSVhsv(71, 75%, 75%)
CMYKcmyk(14.1%, 0%, 75.4%, 25.1%)
CIE-LABlab(73.13, -27.66, 64.56)
CIE-LCHlch(73.13, 70.24, 113.19°)
OKLaboklab(75.89% -0.0822 0.1424)
OKLCHoklch(75.89% 0.164 120)
XYZxyz(34.4544, 45.3595, 9.6289)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4BF2F #4A2FBF
analogous
#BF922F #A4BF2F #5CBF2F
triadic
#A4BF2F #2FA4BF #BF2FA4
tetradic
#A4BF2F #2FBF92 #4A2FBF #BF2F5C
square
#A4BF2F #2FBF92 #4A2FBF #BF2F5C
split-complementary
#A4BF2F #2F5CBF #922FBF
monochromatic
#505D17 #7A8E23 #A4BF2F #BDD556 #D0E187

Accessibility & contrast

On white

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

On black

10.07
#A4BF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4BF2F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4BF2F#FFFFFF#000000##000000
##A4BF2F1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40B
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#AEB5A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a4bf2f;
/* rgb */ color: rgb(164, 191, 47);
/* oklch */ color: oklch(75.9% 0.164 120.0);
Tailwind
colors: {
  custom: {
    50: '#c3d273',
    500: '#a4bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #a4bf2f;
$custom-light: #c3d273;
$custom-dark: #000000;
JSON
{
  "hex": "#a4bf2f",
  "rgb": {
    "r": 164,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 71.25,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75891,
    "c": 0.16444,
    "h": 120
  },
  "luminance": 0.45359
}

Semantic roles & 50–950 ramp

primary
#A4BF2F
secondary
#8D7FCB
accent
#44E462
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A4BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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