#A5BC2E#A5BC2E

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

Color values

HEX#A5BC2E
RGBrgb(165, 188, 46)
HSLhsl(70, 61%, 46%)
HSVhsv(70, 76%, 74%)
CMYKcmyk(12.2%, 0%, 75.5%, 26.3%)
CIE-LABlab(72.34, -25.85, 64.17)
CIE-LCHlch(72.34, 69.18, 111.94°)
OKLaboklab(75.27% -0.0773 0.1414)
OKLCHoklch(75.27% 0.161 118.7)
XYZxyz(33.9942, 44.1633, 9.3178)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC2E #452EBC
analogous
#BC8C2E #A5BC2E #5EBC2E
triadic
#A5BC2E #2EA5BC #BC2EA5
tetradic
#A5BC2E #2EBC8C #452EBC #BC2E5E
square
#A5BC2E #2EBC8C #452EBC #BC2E5E
split-complementary
#A5BC2E #2E5EBC #8C2EBC
monochromatic
#4F5A16 #7A8B22 #A5BC2E #C0D552 #D2E184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BC2E#FFFFFF#000000##000000
##A5BC2E1.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)
#C9B10A
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#AFB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bc2e;
/* rgb */ color: rgb(165, 188, 46);
/* oklch */ color: oklch(75.3% 0.161 118.7);
Tailwind
colors: {
  custom: {
    50: '#c3d072',
    500: '#a5bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc2e;
$custom-light: #c3d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc2e",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 69.718,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7527,
    "c": 0.16116,
    "h": 118.7
  },
  "luminance": 0.44163
}

Semantic roles & 50–950 ramp

primary
#A5BC2E
secondary
#887CCA
accent
#44E45E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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