#A5BF30#A5BF30

#A5BF30 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 76.0% C 0.163 H 119.7°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#A5BF30
RGBrgb(165, 191, 48)
HSLhsl(71, 60%, 47%)
HSVhsv(71, 75%, 75%)
CMYKcmyk(13.6%, 0%, 74.9%, 25.1%)
CIE-LABlab(73.20, -27.20, 64.33)
CIE-LCHlch(73.20, 69.85, 112.92°)
OKLaboklab(75.97% -0.0809 0.1421)
OKLCHoklch(75.97% 0.163 119.7)
XYZxyz(34.6820, 45.4745, 9.7461)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF30 #4A30BF
analogous
#BF9230 #A5BF30 #5EBF30
triadic
#A5BF30 #30A5BF #BF30A5
tetradic
#A5BF30 #30BF92 #4A30BF #BF305E
square
#A5BF30 #30BF92 #4A30BF #BF305E
split-complementary
#A5BF30 #305EBF #9230BF
monochromatic
#505D17 #7B8E24 #A5BF30 #BED557 #D1E188

Accessibility & contrast

On white

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

On black

10.09
#A5BF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF30
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF30#FFFFFF#000000##000000
##A5BF301.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40E
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#AFB5A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf30;
/* rgb */ color: rgb(165, 191, 48);
/* oklch */ color: oklch(76.0% 0.163 119.7);
Tailwind
colors: {
  custom: {
    50: '#c3d273',
    500: '#a5bf30',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf30;
$custom-light: #c3d273;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf30",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 70.909,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75971,
    "c": 0.16349,
    "h": 119.7
  },
  "luminance": 0.45474
}

Semantic roles & 50–950 ramp

primary
#A5BF30
secondary
#8E80CB
accent
#45E362
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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