#A5BB2D#A5BB2D

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

Color values

HEX#A5BB2D
RGBrgb(165, 187, 45)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 76%, 73%)
CMYKcmyk(11.8%, 0%, 75.9%, 26.7%)
CIE-LABlab(72.05, -25.41, 64.22)
CIE-LCHlch(72.05, 69.07, 111.59°)
OKLaboklab(75.04% -0.0762 0.1413)
OKLCHoklch(75.04% 0.161 118.3)
XYZxyz(33.7618, 43.7297, 9.1442)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB2D #432DBB
analogous
#BB8A2D #A5BB2D #5EBB2D
triadic
#A5BB2D #2DA5BB #BB2DA5
tetradic
#A5BB2D #2DBB8A #432DBB #BB2D5E
square
#A5BB2D #2DBB8A #432DBB #BB2D5E
split-complementary
#A5BB2D #2D5EBB #8A2DBB
monochromatic
#4E5815 #798A21 #A5BB2D #C0D550 #D2E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BB2D#FFFFFF#000000##000000
##A5BB2D1.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)
#C8B007
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#AFB1A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb2d;
/* rgb */ color: rgb(165, 187, 45);
/* oklch */ color: oklch(75.0% 0.161 118.3);
Tailwind
colors: {
  custom: {
    50: '#c3cf71',
    500: '#a5bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb2d;
$custom-light: #c3cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb2d",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 69.296,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75035,
    "c": 0.16056,
    "h": 118.3
  },
  "luminance": 0.43729
}

Semantic roles & 50–950 ramp

primary
#A5BB2D
secondary
#867ACA
accent
#43E45C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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