#C5CB48#C5CB48

#C5CB48 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.3% C 0.151 H 111.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#C5CB48
RGBrgb(197, 203, 72)
HSLhsl(63, 56%, 54%)
HSVhsv(63, 65%, 80%)
CMYKcmyk(3%, 0%, 64.5%, 20.4%)
CIE-LABlab(79.07, -18.50, 62.12)
CIE-LCHlch(79.07, 64.82, 106.58°)
OKLaboklab(81.32% -0.0563 0.1404)
OKLCHoklch(81.32% 0.151 111.8)
XYZxyz(45.5529, 55.0511, 14.3559)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB48 #4E48CB
analogous
#CB9048 #C5CB48 #84CB48
triadic
#C5CB48 #48C5CB #CB48C5
tetradic
#C5CB48 #48CB90 #4E48CB #CB4884
square
#C5CB48 #48CB90 #4E48CB #CB4884
split-complementary
#C5CB48 #4884CB #9048CB
monochromatic
#737722 #A1A62F #C5CB48 #D4D978 #E3E6A7

Accessibility & contrast

On white

1.75
#C5CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#C5CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB48
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB48#FFFFFF#000000##000000
##C5CB481.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#D2BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb48;
/* rgb */ color: rgb(197, 203, 72);
/* oklch */ color: oklch(81.3% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#dada82',
    500: '#c5cb48',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb48;
$custom-light: #dada82;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb48",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 62.748,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8132,
    "c": 0.15126,
    "h": 111.8
  },
  "luminance": 0.5505
}

Semantic roles & 50–950 ramp

primary
#C5CB48
secondary
#3B387F
accent
#49DF50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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