#A5BC28#A5BC28

#A5BC28 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.2% C 0.164 H 118.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#A5BC28
RGBrgb(165, 188, 40)
HSLhsl(69, 65%, 45%)
HSVhsv(69, 79%, 74%)
CMYKcmyk(12.2%, 0%, 78.7%, 26.3%)
CIE-LABlab(72.31, -26.11, 65.99)
CIE-LCHlch(72.31, 70.96, 111.58°)
OKLaboklab(75.24% -0.0785 0.1442)
OKLCHoklch(75.24% 0.164 118.6)
XYZxyz(33.8841, 44.1193, 8.7379)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC28 #3F28BC
analogous
#BC8928 #A5BC28 #5BBC28
triadic
#A5BC28 #28A5BC #BC28A5
tetradic
#A5BC28 #28BC89 #3F28BC #BC285B
square
#A5BC28 #28BC89 #3F28BC #BC285B
split-complementary
#A5BC28 #285BBC #8928BC
monochromatic
#4C5713 #798A1D #A5BC28 #C2D849 #D3E37B

Accessibility & contrast

On white

2.14
#A5BC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#A5BC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC28
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC28#FFFFFF#000000##000000
##A5BC281.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bc28;
/* rgb */ color: rgb(165, 188, 40);
/* oklch */ color: oklch(75.2% 0.164 118.6);
Tailwind
colors: {
  custom: {
    50: '#c4d06f',
    500: '#a5bc28',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc28;
$custom-light: #c4d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc28",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 69.324,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75237,
    "c": 0.1642,
    "h": 118.6
  },
  "luminance": 0.44119
}

Semantic roles & 50–950 ramp

primary
#A5BC28
secondary
#8275CB
accent
#40E85A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BC28

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

Preview Lab → · Contrast checker → · Palette generator →

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