#A5CF48#A5CF48

#A5CF48 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.8% C 0.167 H 124.9°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#A5CF48
RGBrgb(165, 207, 72)
HSLhsl(79, 58%, 55%)
HSVhsv(79, 65%, 81%)
CMYKcmyk(20.3%, 0%, 65.2%, 18.8%)
CIE-LABlab(77.93, -33.32, 60.23)
CIE-LCHlch(77.93, 68.84, 118.95°)
OKLaboklab(79.83% -0.0957 0.1371)
OKLCHoklch(79.83% 0.167 124.9)
XYZxyz(38.9998, 53.0925, 14.3229)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF48 #7248CF
analogous
#CFB648 #A5CF48 #61CF48
triadic
#A5CF48 #48A5CF #CF48A5
tetradic
#A5CF48 #48CFB6 #7248CF #CF4861
square
#A5CF48 #48CFB6 #7248CF #CF4861
split-complementary
#A5CF48 #4861CF #B648CF
monochromatic
#607C21 #85AD2D #A5CF48 #BDDC78 #D5E8A9

Accessibility & contrast

On white

1.81
#A5CF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#A5CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF48
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF48#FFFFFF#000000##000000
##A5CF481.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#ACC5B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf48;
/* rgb */ color: rgb(165, 207, 72);
/* oklch */ color: oklch(79.8% 0.167 124.9);
Tailwind
colors: {
  custom: {
    50: '#c3dd81',
    500: '#a5cf48',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf48;
$custom-light: #c3dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf48",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 78.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79835,
    "c": 0.16721,
    "h": 124.9
  },
  "luminance": 0.53093
}

Semantic roles & 50–950 ramp

primary
#A5CF48
secondary
#4F3784
accent
#46E277
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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