#A5BB31#A5BB31

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

Color values

HEX#A5BB31
RGBrgb(165, 187, 49)
HSLhsl(70, 58%, 46%)
HSVhsv(70, 74%, 73%)
CMYKcmyk(11.8%, 0%, 73.8%, 26.7%)
CIE-LABlab(72.07, -25.22, 62.92)
CIE-LCHlch(72.07, 67.79, 111.84°)
OKLaboklab(75.06% -0.0753 0.1393)
OKLCHoklch(75.06% 0.158 118.4)
XYZxyz(33.8425, 43.7620, 9.5692)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB31 #4731BB
analogous
#BB8C31 #A5BB31 #60BB31
triadic
#A5BB31 #31A5BB #BB31A5
tetradic
#A5BB31 #31BB8C #4731BB #BB3160
square
#A5BB31 #31BB8C #4731BB #BB3160
split-complementary
#A5BB31 #3160BB #8C31BB
monochromatic
#4F5A18 #7A8B24 #A5BB31 #BFD356 #D1E087

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BB31#FFFFFF#000000##000000
##A5BB311.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)
#C7B014
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb31;
/* rgb */ color: rgb(165, 187, 49);
/* oklch */ color: oklch(75.1% 0.158 118.4);
Tailwind
colors: {
  custom: {
    50: '#c3cf73',
    500: '#a5bb31',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb31;
$custom-light: #c3cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb31",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 69.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75059,
    "c": 0.15834,
    "h": 118.4
  },
  "luminance": 0.43762
}

Semantic roles & 50–950 ramp

primary
#A5BB31
secondary
#8B7FC9
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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