#C3C042#C3C042

#C3C042 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.7% C 0.145 H 108.0°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#C3C042
RGBrgb(195, 192, 66)
HSLhsl(59, 52%, 51%)
HSVhsv(59, 66%, 76%)
CMYKcmyk(0%, 1.5%, 66.2%, 23.5%)
CIE-LABlab(75.88, -14.18, 61.18)
CIE-LCHlch(75.88, 62.80, 103.05°)
OKLaboklab(78.72% -0.0446 0.1375)
OKLCHoklch(78.72% 0.145 108)
XYZxyz(42.3402, 49.6960, 12.5152)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C042 #4245C3
analogous
#C37F42 #C3C042 #85C342
triadic
#C3C042 #42C3C0 #C042C3
tetradic
#C3C042 #42C37F #4245C3 #C34285
square
#C3C042 #42C37F #4245C3 #C34285
split-complementary
#C3C042 #4285C3 #7F42C3
monochromatic
#696821 #989530 #C3C042 #D2CF70 #E0DF9F

Accessibility & contrast

On white

1.92
#C3C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#C3C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C042
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C042#FFFFFF#000000##000000
##C3C0421.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB930
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#D1B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c3c042;
/* rgb */ color: rgb(195, 192, 66);
/* oklch */ color: oklch(78.7% 0.145 108.0);
Tailwind
colors: {
  custom: {
    50: '#d8d27d',
    500: '#c3c042',
    950: '#000000',
  },
}
SCSS
$custom: #c3c042;
$custom-light: #d8d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c042",
  "rgb": {
    "r": 195,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 58.605,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78721,
    "c": 0.14459,
    "h": 108
  },
  "luminance": 0.49695
}

Semantic roles & 50–950 ramp

primary
#C3C042
secondary
#9495CD
accent
#50DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C3C042

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

Preview Lab → · Contrast checker → · Palette generator →

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