#A5BC31#A5BC31

#A5BC31 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.159 H 118.7°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#A5BC31
RGBrgb(165, 188, 49)
HSLhsl(70, 59%, 46%)
HSVhsv(70, 74%, 74%)
CMYKcmyk(12.2%, 0%, 73.9%, 26.3%)
CIE-LABlab(72.35, -25.71, 63.19)
CIE-LCHlch(72.35, 68.22, 112.14°)
OKLaboklab(75.29% -0.0767 0.1398)
OKLCHoklch(75.29% 0.159 118.7)
XYZxyz(34.0554, 44.1878, 9.6402)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC31 #4831BC
analogous
#BC8E31 #A5BC31 #60BC31
triadic
#A5BC31 #31A5BC #BC31A5
tetradic
#A5BC31 #31BC8E #4831BC #BC3160
square
#A5BC31 #31BC8E #4831BC #BC3160
split-complementary
#A5BC31 #3160BC #8E31BC
monochromatic
#505B18 #7A8B24 #A5BC31 #BFD357 #D1E088

Accessibility & contrast

On white

2.13
#A5BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#A5BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC31
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC31#FFFFFF#000000##000000
##A5BC311.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B113
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#AFB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bc31;
/* rgb */ color: rgb(165, 188, 49);
/* oklch */ color: oklch(75.3% 0.159 118.7);
Tailwind
colors: {
  custom: {
    50: '#c3d073',
    500: '#a5bc31',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc31;
$custom-light: #c3d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc31",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 69.928,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75288,
    "c": 0.15948,
    "h": 118.7
  },
  "luminance": 0.44188
}

Semantic roles & 50–950 ramp

primary
#A5BC31
secondary
#8C7FCA
accent
#46E260
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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