#C4CD48#C4CD48

#C4CD48 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.7% C 0.154 H 113.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C4CD48
RGBrgb(196, 205, 72)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 65%, 80%)
CMYKcmyk(4.4%, 0%, 64.9%, 19.6%)
CIE-LABlab(79.54, -19.90, 62.58)
CIE-LCHlch(79.54, 65.67, 107.64°)
OKLaboklab(81.68% -0.0601 0.1414)
OKLCHoklch(81.68% 0.154 113)
XYZxyz(45.7672, 55.8672, 14.5022)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD48 #5148CD
analogous
#CD9448 #C4CD48 #82CD48
triadic
#C4CD48 #48C4CD #CD48C4
tetradic
#C4CD48 #48CD94 #5148CD #CD4882
square
#C4CD48 #48CD94 #5148CD #CD4882
split-complementary
#C4CD48 #4882CD #9448CD
monochromatic
#737921 #A1A92E #C4CD48 #D3DA78 #E3E7A8

Accessibility & contrast

On white

1.73
#C4CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#C4CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD48
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD48#FFFFFF#000000##000000
##C4CD481.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#D1C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd48;
/* rgb */ color: rgb(196, 205, 72);
/* oklch */ color: oklch(81.7% 0.154 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9dc82',
    500: '#c4cd48',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd48;
$custom-light: #d9dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd48",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 64.06,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81675,
    "c": 0.15366,
    "h": 113
  },
  "luminance": 0.55866
}

Semantic roles & 50–950 ramp

primary
#C4CD48
secondary
#3D3882
accent
#47E052
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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