#C3C742#C3C742

#C3C742 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.152 H 111.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#C3C742
RGBrgb(195, 199, 66)
HSLhsl(62, 54%, 52%)
HSVhsv(62, 67%, 78%)
CMYKcmyk(2%, 0%, 66.8%, 22%)
CIE-LABlab(77.78, -17.70, 63.11)
CIE-LCHlch(77.78, 65.55, 105.66°)
OKLaboklab(80.24% -0.0545 0.1416)
OKLCHoklch(80.24% 0.152 111.1)
XYZxyz(43.9138, 52.8434, 13.0397)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3C742 #4642C7
analogous
#C78942 #C3C742 #80C742
triadic
#C3C742 #42C3C7 #C742C3
tetradic
#C3C742 #42C789 #4642C7 #C74280
square
#C3C742 #42C789 #4642C7 #C74280
split-complementary
#C3C742 #4280C7 #8942C7
monochromatic
#6C6E21 #9A9D2F #C3C742 #D2D571 #E1E3A0

Accessibility & contrast

On white

1.82
#C3C742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#C3C742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3C742
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3C742#FFFFFF#000000##000000
##C3C7421.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#D0BBAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c3c742;
/* rgb */ color: rgb(195, 199, 66);
/* oklch */ color: oklch(80.2% 0.152 111.1);
Tailwind
colors: {
  custom: {
    50: '#d8d77e',
    500: '#c3c742',
    950: '#000000',
  },
}
SCSS
$custom: #c3c742;
$custom-light: #d8d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3c742",
  "rgb": {
    "r": 195,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 61.805,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80238,
    "c": 0.15174,
    "h": 111.1
  },
  "luminance": 0.52842
}

Semantic roles & 50–950 ramp

primary
#C3C742
secondary
#383678
accent
#4ADE4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C3C742

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

Preview Lab → · Contrast checker → · Palette generator →

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