#A5BB27#A5BB27

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

Color values

HEX#A5BB27
RGBrgb(165, 187, 39)
HSLhsl(69, 65%, 44%)
HSVhsv(69, 79%, 73%)
CMYKcmyk(11.8%, 0%, 79.1%, 26.7%)
CIE-LABlab(72.02, -25.66, 66.02)
CIE-LCHlch(72.02, 70.83, 111.24°)
OKLaboklab(75% -0.0773 0.1441)
OKLCHoklch(75% 0.164 118.2)
XYZxyz(33.6544, 43.6868, 8.5785)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB27 #3D27BB
analogous
#BB8727 #A5BB27 #5BBB27
triadic
#A5BB27 #27A5BB #BB27A5
tetradic
#A5BB27 #27BB87 #3D27BB #BB275B
square
#A5BB27 #27BB87 #3D27BB #BB275B
split-complementary
#A5BB27 #275BBB #8727BB
monochromatic
#4C5612 #78881C #A5BB27 #C3D947 #D3E379

Accessibility & contrast

On white

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

On black

9.74
#A5BB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB27
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB27#FFFFFF#000000##000000
##A5BB271.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bb27;
/* rgb */ color: rgb(165, 187, 39);
/* oklch */ color: oklch(75.0% 0.164 118.2);
Tailwind
colors: {
  custom: {
    50: '#c4cf6f',
    500: '#a5bb27',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb27;
$custom-light: #c4cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb27",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 39
  },
  "hsl": {
    "h": 68.919,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75003,
    "c": 0.16356,
    "h": 118.2
  },
  "luminance": 0.43686
}

Semantic roles & 50–950 ramp

primary
#A5BB27
secondary
#8073CB
accent
#3FE858
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BB27

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

Preview Lab → · Contrast checker → · Palette generator →

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