#A5BC2B#A5BC2B

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

Color values

HEX#A5BC2B
RGBrgb(165, 188, 43)
HSLhsl(70, 63%, 45%)
HSVhsv(70, 77%, 74%)
CMYKcmyk(12.2%, 0%, 77.1%, 26.3%)
CIE-LABlab(72.32, -25.98, 65.10)
CIE-LCHlch(72.32, 70.10, 111.76°)
OKLaboklab(75.25% -0.0779 0.1429)
OKLCHoklch(75.25% 0.163 118.6)
XYZxyz(33.9371, 44.1405, 9.0172)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC2B #422BBC
analogous
#BC8A2B #A5BC2B #5DBC2B
triadic
#A5BC2B #2BA5BC #BC2BA5
tetradic
#A5BC2B #2BBC8A #422BBC #BC2B5D
square
#A5BC2B #2BBC8A #422BBC #BC2B5D
split-complementary
#A5BC2B #2B5DBC #8A2BBC
monochromatic
#4E5814 #798A20 #A5BC2B #C1D64E #D2E280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BC2B#FFFFFF#000000##000000
##A5BC2B1.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)
#C6B239
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bc2b;
/* rgb */ color: rgb(165, 188, 43);
/* oklch */ color: oklch(75.3% 0.163 118.6);
Tailwind
colors: {
  custom: {
    50: '#c3d071',
    500: '#a5bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc2b;
$custom-light: #c3d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc2b",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 69.517,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75253,
    "c": 0.16273,
    "h": 118.6
  },
  "luminance": 0.4414
}

Semantic roles & 50–950 ramp

primary
#A5BC2B
secondary
#8578CB
accent
#42E65C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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