#A5BC27#A5BC27

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

Color values

HEX#A5BC27
RGBrgb(165, 188, 39)
HSLhsl(69, 66%, 45%)
HSVhsv(69, 79%, 74%)
CMYKcmyk(12.2%, 0%, 79.3%, 26.3%)
CIE-LABlab(72.30, -26.15, 66.27)
CIE-LCHlch(72.30, 71.24, 111.53°)
OKLaboklab(75.23% -0.0787 0.1447)
OKLCHoklch(75.23% 0.165 118.5)
XYZxyz(33.8673, 44.1125, 8.6495)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC27 #3E27BC
analogous
#BC8927 #A5BC27 #5ABC27
triadic
#A5BC27 #27A5BC #BC27A5
tetradic
#A5BC27 #27BC89 #3E27BC #BC275A
square
#A5BC27 #27BC89 #3E27BC #BC275A
split-complementary
#A5BC27 #275ABC #8927BC
monochromatic
#4C5712 #79891C #A5BC27 #C2D947 #D3E37A

Accessibility & contrast

On white

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

On black

9.82
#A5BC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC27
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC27#FFFFFF#000000##000000
##A5BC271.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bc27;
/* rgb */ color: rgb(165, 188, 39);
/* oklch */ color: oklch(75.2% 0.165 118.5);
Tailwind
colors: {
  custom: {
    50: '#c4d06f',
    500: '#a5bc27',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc27;
$custom-light: #c4d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc27",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 39
  },
  "hsl": {
    "h": 69.262,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75232,
    "c": 0.16467,
    "h": 118.5
  },
  "luminance": 0.44112
}

Semantic roles & 50–950 ramp

primary
#A5BC27
secondary
#8173CB
accent
#3FE959
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BC27

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

Preview Lab → · Contrast checker → · Palette generator →

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