#A4BF31#A4BF31

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

Color values

HEX#A4BF31
RGBrgb(164, 191, 49)
HSLhsl(71, 59%, 47%)
HSVhsv(71, 74%, 75%)
CMYKcmyk(14.1%, 0%, 74.3%, 25.1%)
CIE-LABlab(73.14, -27.57, 63.92)
CIE-LCHlch(73.14, 69.61, 113.33°)
OKLaboklab(75.9% -0.0817 0.1414)
OKLCHoklch(75.9% 0.163 120)
XYZxyz(34.4957, 45.3760, 9.8463)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4BF31 #4C31BF
analogous
#BF9331 #A4BF31 #5DBF31
triadic
#A4BF31 #31A4BF #BF31A4
tetradic
#A4BF31 #31BF93 #4C31BF #BF315D
square
#A4BF31 #31BF93 #4C31BF #BF315D
split-complementary
#A4BF31 #315DBF #9331BF
monochromatic
#505E18 #7A8E25 #A4BF31 #BDD459 #D0E18A

Accessibility & contrast

On white

2.08
#A4BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#A4BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4BF31
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4BF31#FFFFFF#000000##000000
##A4BF311.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4bf31;
/* rgb */ color: rgb(164, 191, 49);
/* oklch */ color: oklch(75.9% 0.163 120.0);
Tailwind
colors: {
  custom: {
    50: '#c3d274',
    500: '#a4bf31',
    950: '#000000',
  },
}
SCSS
$custom: #a4bf31;
$custom-light: #c3d274;
$custom-dark: #000000;
JSON
{
  "hex": "#a4bf31",
  "rgb": {
    "r": 164,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 71.408,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75903,
    "c": 0.16333,
    "h": 120
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#A4BF31
secondary
#8F81CB
accent
#45E263
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A4BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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