#C3CD52#C3CD52

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

Color values

HEX#C3CD52
RGBrgb(195, 205, 82)
HSLhsl(65, 55%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(4.9%, 0%, 60%, 19.6%)
CIE-LABlab(79.54, -19.65, 58.42)
CIE-LCHlch(79.54, 61.64, 108.59°)
OKLaboklab(81.69% -0.0584 0.134)
OKLCHoklch(81.69% 0.146 113.5)
XYZxyz(45.8611, 55.8748, 16.3500)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CD52 #5C52CD
analogous
#CD9A52 #C3CD52 #86CD52
triadic
#C3CD52 #52C3CD #CD52C3
tetradic
#C3CD52 #52CD9A #5C52CD #CD5286
square
#C3CD52 #52CD9A #5C52CD #CD5286
split-complementary
#C3CD52 #5286CD #9A52CD
monochromatic
#788025 #A5AF33 #C3CD52 #D3DB81 #E4E8B1

Accessibility & contrast

On white

1.72
#C3CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3CD52#FFFFFF#000000##000000
##C3CD521.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DBC65A
Tritanopia (blue-blind)
#CFC2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c3cd52;
/* rgb */ color: rgb(195, 205, 82);
/* oklch */ color: oklch(81.7% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#d8dc88',
    500: '#c3cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c3cd52;
$custom-light: #d8dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cd52",
  "rgb": {
    "r": 195,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 64.878,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81686,
    "c": 0.14619,
    "h": 113.5
  },
  "luminance": 0.55874
}

Semantic roles & 50–950 ramp

primary
#C3CD52
secondary
#423C87
accent
#49DE55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C3CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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