#A5CB48#A5CB48

#A5CB48 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.9% C 0.162 H 123.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#A5CB48
RGBrgb(165, 203, 72)
HSLhsl(77, 56%, 54%)
HSVhsv(77, 65%, 80%)
CMYKcmyk(18.7%, 0%, 64.5%, 20.4%)
CIE-LABlab(76.79, -31.46, 59.02)
CIE-LCHlch(76.79, 66.89, 118.06°)
OKLaboklab(78.91% -0.0905 0.1346)
OKLCHoklch(78.91% 0.162 123.9)
XYZxyz(38.0430, 51.1788, 14.0039)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CB48 #6E48CB
analogous
#CBB048 #A5CB48 #64CB48
triadic
#A5CB48 #48A5CB #CB48A5
tetradic
#A5CB48 #48CBB0 #6E48CB #CB4864
square
#A5CB48 #48CBB0 #6E48CB #CB4864
split-complementary
#A5CB48 #4864CB #B048CB
monochromatic
#5E7722 #84A62F #A5CB48 #BCD978 #D4E6A7

Accessibility & contrast

On white

1.87
#A5CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#A5CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CB48
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CB48#FFFFFF#000000##000000
##A5CB481.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF37
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#ACC1B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5cb48;
/* rgb */ color: rgb(165, 203, 72);
/* oklch */ color: oklch(78.9% 0.162 123.9);
Tailwind
colors: {
  custom: {
    50: '#c3db81',
    500: '#a5cb48',
    950: '#000000',
  },
}
SCSS
$custom: #a5cb48;
$custom-light: #c3db81;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cb48",
  "rgb": {
    "r": 165,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 77.405,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78913,
    "c": 0.1622,
    "h": 123.9
  },
  "luminance": 0.51179
}

Semantic roles & 50–950 ramp

primary
#A5CB48
secondary
#4D387F
accent
#49DF74
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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