#C3C342#C3C342

#C3C342 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.4% C 0.148 H 109.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C3C342
RGBrgb(195, 195, 66)
HSLhsl(60, 52%, 51%)
HSVhsv(60, 66%, 76%)
CMYKcmyk(0%, 0%, 66.2%, 23.5%)
CIE-LABlab(76.70, -15.70, 62.01)
CIE-LCHlch(76.70, 63.96, 104.20°)
OKLaboklab(79.37% -0.0489 0.1393)
OKLCHoklch(79.37% 0.148 109.3)
XYZxyz(43.0056, 51.0269, 12.7370)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C342 #4242C3
analogous
#C38242 #C3C342 #82C342
triadic
#C3C342 #42C3C3 #C342C3
tetradic
#C3C342 #42C382 #4242C3 #C34282
square
#C3C342 #42C382 #4242C3 #C34282
split-complementary
#C3C342 #4282C3 #8242C3
monochromatic
#696921 #989830 #C3C342 #D2D270 #E0E09F

Accessibility & contrast

On white

1.87
#C3C342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#C3C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C342
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C342#FFFFFF#000000##000000
##C3C3421.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#D0B7A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c3c342;
/* rgb */ color: rgb(195, 195, 66);
/* oklch */ color: oklch(79.4% 0.148 109.3);
Tailwind
colors: {
  custom: {
    50: '#d8d47d',
    500: '#c3c342',
    950: '#000000',
  },
}
SCSS
$custom: #c3c342;
$custom-light: #d8d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c342",
  "rgb": {
    "r": 195,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79369,
    "c": 0.14761,
    "h": 109.3
  },
  "luminance": 0.51026
}

Semantic roles & 50–950 ramp

primary
#C3C342
secondary
#363673
accent
#4DDB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C342

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

Preview Lab → · Contrast checker → · Palette generator →

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