#A5BC2A#A5BC2A

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

Color values

HEX#A5BC2A
RGBrgb(165, 188, 42)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 78%, 74%)
CMYKcmyk(12.2%, 0%, 77.7%, 26.3%)
CIE-LABlab(72.32, -26.02, 65.40)
CIE-LCHlch(72.32, 70.39, 111.70°)
OKLaboklab(75.25% -0.0781 0.1433)
OKLCHoklch(75.25% 0.163 118.6)
XYZxyz(33.9190, 44.1332, 8.9217)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC2A #412ABC
analogous
#BC8A2A #A5BC2A #5CBC2A
triadic
#A5BC2A #2AA5BC #BC2AA5
tetradic
#A5BC2A #2ABC8A #412ABC #BC2A5C
square
#A5BC2A #2ABC8A #412ABC #BC2A5C
split-complementary
#A5BC2A #2A5CBC #8A2ABC
monochromatic
#4D5814 #798A1F #A5BC2A #C1D74C #D2E27E

Accessibility & contrast

On white

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

On black

9.83
#A5BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC2A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC2A#FFFFFF#000000##000000
##A5BC2A1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bc2a;
/* rgb */ color: rgb(165, 188, 42);
/* oklch */ color: oklch(75.2% 0.163 118.6);
Tailwind
colors: {
  custom: {
    50: '#c3d070',
    500: '#a5bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc2a;
$custom-light: #c3d070;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc2a",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 69.452,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75248,
    "c": 0.16323,
    "h": 118.6
  },
  "luminance": 0.44133
}

Semantic roles & 50–950 ramp

primary
#A5BC2A
secondary
#8477CB
accent
#41E75B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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