#A5BE27#A5BE27

#A5BE27 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.7% C 0.167 H 119.2°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#A5BE27
RGBrgb(165, 190, 39)
HSLhsl(70, 66%, 45%)
HSVhsv(70, 79%, 75%)
CMYKcmyk(13.2%, 0%, 79.5%, 25.5%)
CIE-LABlab(72.87, -27.11, 66.78)
CIE-LCHlch(72.87, 72.08, 112.09°)
OKLaboklab(75.69% -0.0813 0.1458)
OKLCHoklch(75.69% 0.167 119.2)
XYZxyz(34.2975, 44.9730, 8.7929)
Luminance0.4497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BE27 #4027BE
analogous
#BE8C27 #A5BE27 #59BE27
triadic
#A5BE27 #27A5BE #BE27A5
tetradic
#A5BE27 #27BE8C #4027BE #BE2759
square
#A5BE27 #27BE8C #4027BE #BE2759
split-complementary
#A5BE27 #2759BE #8C27BE
monochromatic
#4D5812 #798B1D #A5BE27 #C2DA49 #D3E47B

Accessibility & contrast

On white

2.10
#A5BE27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#A5BE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BE27
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BE27#FFFFFF#000000##000000
##A5BE271.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C8B336
Tritanopia (blue-blind)
#AFB3A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a5be27;
/* rgb */ color: rgb(165, 190, 39);
/* oklch */ color: oklch(75.7% 0.167 119.2);
Tailwind
colors: {
  custom: {
    50: '#c4d16f',
    500: '#a5be27',
    950: '#000000',
  },
}
SCSS
$custom: #a5be27;
$custom-light: #c4d16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5be27",
  "rgb": {
    "r": 165,
    "g": 190,
    "b": 39
  },
  "hsl": {
    "h": 69.934,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75692,
    "c": 0.16691,
    "h": 119.2
  },
  "luminance": 0.44973
}

Semantic roles & 50–950 ramp

primary
#A5BE27
secondary
#8375CC
accent
#3FE95B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BE27

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

Preview Lab → · Contrast checker → · Palette generator →

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