#C3CD51#C3CD51

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

Color values

HEX#C3CD51
RGBrgb(195, 205, 81)
HSLhsl(65, 55%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(4.9%, 0%, 60.5%, 19.6%)
CIE-LABlab(79.53, -19.72, 58.84)
CIE-LCHlch(79.53, 62.06, 108.53°)
OKLaboklab(81.68% -0.0587 0.1348)
OKLCHoklch(81.68% 0.147 113.5)
XYZxyz(45.8233, 55.8597, 16.1511)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CD51 #5B51CD
analogous
#CD9951 #C3CD51 #85CD51
triadic
#C3CD51 #51C3CD #CD51C3
tetradic
#C3CD51 #51CD99 #5B51CD #CD5185
square
#C3CD51 #51CD99 #5B51CD #CD5185
split-complementary
#C3CD51 #5185CD #9951CD
monochromatic
#787F25 #A5AF32 #C3CD51 #D3DB81 #E4E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3CD51#FFFFFF#000000##000000
##C3CD511.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)
#DBC442
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#CFC2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c3cd51;
/* rgb */ color: rgb(195, 205, 81);
/* oklch */ color: oklch(81.7% 0.147 113.5);
Tailwind
colors: {
  custom: {
    50: '#d8dc87',
    500: '#c3cd51',
    950: '#000000',
  },
}
SCSS
$custom: #c3cd51;
$custom-light: #d8dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cd51",
  "rgb": {
    "r": 195,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 64.839,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81676,
    "c": 0.14701,
    "h": 113.5
  },
  "luminance": 0.55859
}

Semantic roles & 50–950 ramp

primary
#C3CD51
secondary
#423B87
accent
#49DF55
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C3CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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