#A5BB34#A5BB34

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

Color values

HEX#A5BB34
RGBrgb(165, 187, 52)
HSLhsl(70, 56%, 47%)
HSVhsv(70, 72%, 73%)
CMYKcmyk(11.8%, 0%, 72.2%, 26.7%)
CIE-LABlab(72.09, -25.07, 61.90)
CIE-LCHlch(72.09, 66.78, 112.05°)
OKLaboklab(75.08% -0.0747 0.1376)
OKLCHoklch(75.08% 0.157 118.5)
XYZxyz(33.9079, 43.7882, 9.9138)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB34 #4A34BB
analogous
#BB8E34 #A5BB34 #62BB34
triadic
#A5BB34 #34A5BB #BB34A5
tetradic
#A5BB34 #34BB8E #4A34BB #BB3462
square
#A5BB34 #34BB8E #4A34BB #BB3462
split-complementary
#A5BB34 #3462BB #8E34BB
monochromatic
#505B19 #7B8B27 #A5BB34 #BED15B #D1DF8B

Accessibility & contrast

On white

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

On black

9.76
#A5BB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB34
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB34#FFFFFF#000000##000000
##A5BB341.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B11B
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb34;
/* rgb */ color: rgb(165, 187, 52);
/* oklch */ color: oklch(75.1% 0.157 118.5);
Tailwind
colors: {
  custom: {
    50: '#c3cf75',
    500: '#a5bb34',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb34;
$custom-light: #c3cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb34",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 52
  },
  "hsl": {
    "h": 69.778,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75079,
    "c": 0.15657,
    "h": 118.5
  },
  "luminance": 0.43788
}

Semantic roles & 50–950 ramp

primary
#A5BB34
secondary
#8E82C9
accent
#48E061
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BB34

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

Preview Lab → · Contrast checker → · Palette generator →

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