#A5BB2E#A5BB2E

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

Color values

HEX#A5BB2E
RGBrgb(165, 187, 46)
HSLhsl(69, 61%, 46%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(11.8%, 0%, 75.4%, 26.7%)
CIE-LABlab(72.05, -25.36, 63.90)
CIE-LCHlch(72.05, 68.75, 111.65°)
OKLaboklab(75.04% -0.076 0.1408)
OKLCHoklch(75.04% 0.16 118.4)
XYZxyz(33.7813, 43.7375, 9.2468)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB2E #442EBB
analogous
#BB8A2E #A5BB2E #5EBB2E
triadic
#A5BB2E #2EA5BB #BB2EA5
tetradic
#A5BB2E #2EBB8A #442EBB #BB2E5E
square
#A5BB2E #2EBB8A #442EBB #BB2E5E
split-complementary
#A5BB2E #2E5EBB #8A2EBB
monochromatic
#4E5916 #7A8A22 #A5BB2E #C0D452 #D2E083

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BB2E#FFFFFF#000000##000000
##A5BB2E1.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)
#C8B00B
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#AFB1A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb2e;
/* rgb */ color: rgb(165, 187, 46);
/* oklch */ color: oklch(75.0% 0.160 118.4);
Tailwind
colors: {
  custom: {
    50: '#c3cf72',
    500: '#a5bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb2e;
$custom-light: #c3cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb2e",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 69.362,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75041,
    "c": 0.16002,
    "h": 118.4
  },
  "luminance": 0.43737
}

Semantic roles & 50–950 ramp

primary
#A5BB2E
secondary
#877BCA
accent
#44E45D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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