#C3CD42#C3CD42

#C3CD42 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.5% C 0.158 H 113.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#C3CD42
RGBrgb(195, 205, 66)
HSLhsl(64, 58%, 53%)
HSVhsv(64, 68%, 80%)
CMYKcmyk(4.9%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.42, -20.67, 64.77)
CIE-LCHlch(79.42, 67.98, 107.70°)
OKLaboklab(81.55% -0.0628 0.1451)
OKLCHoklch(81.55% 0.158 113.4)
XYZxyz(45.3216, 55.6590, 13.5090)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CD42 #4C42CD
analogous
#CD9242 #C3CD42 #7DCD42
triadic
#C3CD42 #42C3CD #CD42C3
tetradic
#C3CD42 #42CD92 #4C42CD #CD427D
square
#C3CD42 #42CD92 #4C42CD #CD427D
split-complementary
#C3CD42 #427DCD #9242CD
monochromatic
#6F761F #9DA62C #C3CD42 #D2DA72 #E2E7A3

Accessibility & contrast

On white

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

On black

12.13
#C3CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CD42
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CD42#FFFFFF#000000##000000
##C3CD421.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32D
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#D0C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c3cd42;
/* rgb */ color: rgb(195, 205, 66);
/* oklch */ color: oklch(81.5% 0.158 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8dc7e',
    500: '#c3cd42',
    950: '#000000',
  },
}
SCSS
$custom: #c3cd42;
$custom-light: #d8dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3cd42",
  "rgb": {
    "r": 195,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 64.317,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81548,
    "c": 0.15811,
    "h": 113.4
  },
  "luminance": 0.55658
}

Semantic roles & 50–950 ramp

primary
#C3CD42
secondary
#3A357E
accent
#46E152
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C3CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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