#C5CA48#C5CA48

#C5CA48 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.1% C 0.150 H 111.4°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#C5CA48
RGBrgb(197, 202, 72)
HSLhsl(62, 55%, 54%)
HSVhsv(62, 64%, 79%)
CMYKcmyk(2.5%, 0%, 64.4%, 20.8%)
CIE-LABlab(78.80, -18.00, 61.84)
CIE-LCHlch(78.80, 64.41, 106.23°)
OKLaboklab(81.1% -0.0549 0.1398)
OKLCHoklch(81.1% 0.15 111.4)
XYZxyz(45.3175, 54.5803, 14.2775)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA48 #4D48CA
analogous
#CA8E48 #C5CA48 #84CA48
triadic
#C5CA48 #48C5CA #CA48C5
tetradic
#C5CA48 #48CA8E #4D48CA #CA4884
square
#C5CA48 #48CA8E #4D48CA #CA4884
split-complementary
#C5CA48 #4884CA #8E48CA
monochromatic
#727622 #A0A530 #C5CA48 #D4D877 #E3E5A7

Accessibility & contrast

On white

1.76
#C5CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#C5CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA48
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA48#FFFFFF#000000##000000
##C5CA481.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C137
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#D2BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca48;
/* rgb */ color: rgb(197, 202, 72);
/* oklch */ color: oklch(81.1% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#dad981',
    500: '#c5ca48',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca48;
$custom-light: #dad981;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca48",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 62.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81103,
    "c": 0.15018,
    "h": 111.4
  },
  "luminance": 0.54579
}

Semantic roles & 50–950 ramp

primary
#C5CA48
secondary
#3B387E
accent
#49DE4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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