#C2CD48#C2CD48

#C2CD48 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.154 H 113.9°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C2CD48
RGBrgb(194, 205, 72)
HSLhsl(65, 57%, 54%)
HSVhsv(65, 65%, 80%)
CMYKcmyk(5.4%, 0%, 64.9%, 19.6%)
CIE-LABlab(79.39, -20.73, 62.38)
CIE-LCHlch(79.39, 65.73, 108.38°)
OKLaboklab(81.52% -0.0623 0.141)
OKLCHoklch(81.52% 0.154 113.9)
XYZxyz(45.2503, 55.6007, 14.4779)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD48 #5348CD
analogous
#CD9548 #C2CD48 #80CD48
triadic
#C2CD48 #48C2CD #CD48C2
tetradic
#C2CD48 #48CD95 #5348CD #CD4880
square
#C2CD48 #48CD95 #5348CD #CD4880
split-complementary
#C2CD48 #4880CD #9548CD
monochromatic
#727921 #9FA92E #C2CD48 #D2DA78 #E2E7A8

Accessibility & contrast

On white

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

On black

12.12
#C2CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD48
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD48#FFFFFF#000000##000000
##C2CD481.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd48;
/* rgb */ color: rgb(194, 205, 72);
/* oklch */ color: oklch(81.5% 0.154 113.9);
Tailwind
colors: {
  custom: {
    50: '#d7dc82',
    500: '#c2cd48',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd48;
$custom-light: #d7dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd48",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 64.962,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81516,
    "c": 0.15418,
    "h": 113.9
  },
  "luminance": 0.556
}

Semantic roles & 50–950 ramp

primary
#C2CD48
secondary
#3E3882
accent
#47E054
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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