#A5BB1B#A5BB1B

#A5BB1B is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.168 H 118.1°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A5BB1B
RGBrgb(165, 187, 27)
HSLhsl(68, 75%, 42%)
HSVhsv(68, 86%, 73%)
CMYKcmyk(11.8%, 0%, 85.6%, 26.7%)
CIE-LABlab(71.97, -26.06, 69.00)
CIE-LCHlch(71.97, 73.76, 110.69°)
OKLaboklab(74.95% -0.0792 0.1485)
OKLCHoklch(74.95% 0.168 118.1)
XYZxyz(33.4861, 43.6195, 7.6920)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB1B #311BBB
analogous
#BB811B #A5BB1B #55BB1B
triadic
#A5BB1B #1BA5BB #BB1BA5
tetradic
#A5BB1B #1BBB81 #311BBB #BB1B55
square
#A5BB1B #1BBB81 #311BBB #BB1B55
split-complementary
#A5BB1B #1B55BB #811BBB
monochromatic
#47500C #768613 #A5BB1B #C9E132 #D7E967

Accessibility & contrast

On white

2.16
#A5BB1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A5BB1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB1B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB1B#FFFFFF#000000##000000
##A5BB1B1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B12E
Tritanopia (blue-blind)
#B0B09F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5bb1b;
/* rgb */ color: rgb(165, 187, 27);
/* oklch */ color: oklch(75.0% 0.168 118.1);
Tailwind
colors: {
  custom: {
    50: '#c4cf6a',
    500: '#a5bb1b',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb1b;
$custom-light: #c4cf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb1b",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 27
  },
  "hsl": {
    "h": 68.25,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.16834,
    "h": 118.1
  },
  "luminance": 0.43619
}

Semantic roles & 50–950 ramp

primary
#A5BB1B
secondary
#7263CE
accent
#36F150
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5BB1B

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

Preview Lab → · Contrast checker → · Palette generator →

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