#A2BC1D#A2BC1D

#A2BC1D is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.0% C 0.170 H 119.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A2BC1D
RGBrgb(162, 188, 29)
HSLhsl(70, 73%, 43%)
HSVhsv(70, 85%, 74%)
CMYKcmyk(13.8%, 0%, 84.6%, 26.3%)
CIE-LABlab(72.05, -27.74, 68.54)
CIE-LCHlch(72.05, 73.94, 112.03°)
OKLaboklab(74.96% -0.0835 0.148)
OKLCHoklch(74.96% 0.17 119.4)
XYZxyz(33.1060, 43.7367, 7.8601)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BC1D #371DBC
analogous
#BC861D #A2BC1D #53BC1D
triadic
#A2BC1D #1DA2BC #BC1DA2
tetradic
#A2BC1D #1DBC86 #371DBC #BC1D53
square
#A2BC1D #1DBC86 #371DBC #BC1D53
split-complementary
#A2BC1D #1D53BC #861DBC
monochromatic
#47520D #748715 #A2BC1D #C4E036 #D4E86B

Accessibility & contrast

On white

2.15
#A2BC1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A2BC1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BC1D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BC1D#FFFFFF#000000##000000
##A2BC1D1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2bc1d;
/* rgb */ color: rgb(162, 188, 29);
/* oklch */ color: oklch(75.0% 0.170 119.4);
Tailwind
colors: {
  custom: {
    50: '#c2d06b',
    500: '#a2bc1d',
    950: '#000000',
  },
}
SCSS
$custom: #a2bc1d;
$custom-light: #c2d06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bc1d",
  "rgb": {
    "r": 162,
    "g": 188,
    "b": 29
  },
  "hsl": {
    "h": 69.811,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.74964,
    "c": 0.16993,
    "h": 119.4
  },
  "luminance": 0.43737
}

Semantic roles & 50–950 ramp

primary
#A2BC1D
secondary
#7867CE
accent
#38F056
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2BC1D

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

Preview Lab → · Contrast checker → · Palette generator →

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