#A5BC23#A5BC23

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

Color values

HEX#A5BC23
RGBrgb(165, 188, 35)
HSLhsl(69, 69%, 44%)
HSVhsv(69, 81%, 74%)
CMYKcmyk(12.2%, 0%, 81.4%, 26.3%)
CIE-LABlab(72.29, -26.29, 67.35)
CIE-LCHlch(72.29, 72.30, 111.32°)
OKLaboklab(75.21% -0.0794 0.1463)
OKLCHoklch(75.21% 0.166 118.5)
XYZxyz(33.8045, 44.0874, 8.3187)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC23 #3A23BC
analogous
#BC8623 #A5BC23 #58BC23
triadic
#A5BC23 #23A5BC #BC23A5
tetradic
#A5BC23 #23BC86 #3A23BC #BC2358
square
#A5BC23 #23BC86 #3A23BC #BC2358
split-complementary
#A5BC23 #2358BC #8623BC
monochromatic
#4A5510 #788819 #A5BC23 #C4DC41 #D4E574

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a5bc23;
/* rgb */ color: rgb(165, 188, 35);
/* oklch */ color: oklch(75.2% 0.166 118.5);
Tailwind
colors: {
  custom: {
    50: '#c4d06d',
    500: '#a5bc23',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc23;
$custom-light: #c4d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc23",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 35
  },
  "hsl": {
    "h": 69.02,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75213,
    "c": 0.16643,
    "h": 118.5
  },
  "luminance": 0.44087
}

Semantic roles & 50–950 ramp

primary
#A5BC23
secondary
#7D6FCC
accent
#3CEB57
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BC23

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

Preview Lab → · Contrast checker → · Palette generator →

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