#A5BC2C#A5BC2C

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

Color values

HEX#A5BC2C
RGBrgb(165, 188, 44)
HSLhsl(70, 62%, 45%)
HSVhsv(70, 77%, 74%)
CMYKcmyk(12.2%, 0%, 76.6%, 26.3%)
CIE-LABlab(72.33, -25.94, 64.80)
CIE-LCHlch(72.33, 69.80, 111.82°)
OKLaboklab(75.26% -0.0777 0.1424)
OKLCHoklch(75.26% 0.162 118.6)
XYZxyz(33.9557, 44.1479, 9.1150)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC2C #432CBC
analogous
#BC8B2C #A5BC2C #5DBC2C
triadic
#A5BC2C #2CA5BC #BC2CA5
tetradic
#A5BC2C #2CBC8B #432CBC #BC2C5D
square
#A5BC2C #2CBC8B #432CBC #BC2C5D
split-complementary
#A5BC2C #2C5DBC #8B2CBC
monochromatic
#4E5915 #798A20 #A5BC2C #C0D64F #D2E181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BC2C#FFFFFF#000000##000000
##A5BC2C1.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)
#C9B103
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bc2c;
/* rgb */ color: rgb(165, 188, 44);
/* oklch */ color: oklch(75.3% 0.162 118.6);
Tailwind
colors: {
  custom: {
    50: '#c3d071',
    500: '#a5bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc2c;
$custom-light: #c3d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc2c",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 69.583,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75259,
    "c": 0.16222,
    "h": 118.6
  },
  "luminance": 0.44148
}

Semantic roles & 50–950 ramp

primary
#A5BC2C
secondary
#8679CA
accent
#43E55D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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