#C4C042#C4C042

#C4C042 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.8% C 0.144 H 107.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C4C042
RGBrgb(196, 192, 66)
HSLhsl(58, 52%, 51%)
HSVhsv(58, 66%, 77%)
CMYKcmyk(0%, 2%, 66.3%, 23.1%)
CIE-LABlab(75.96, -13.76, 61.29)
CIE-LCHlch(75.96, 62.81, 102.65°)
OKLaboklab(78.81% -0.0435 0.1377)
OKLCHoklch(78.81% 0.144 107.5)
XYZxyz(42.5995, 49.8298, 12.5273)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C042 #4246C4
analogous
#C47F42 #C4C042 #87C442
triadic
#C4C042 #42C4C0 #C042C4
tetradic
#C4C042 #42C47F #4246C4 #C44287
square
#C4C042 #42C47F #4246C4 #C44287
split-complementary
#C4C042 #4287C4 #7F42C4
monochromatic
#6A6821 #999630 #C4C042 #D3D071 #E1DF9F

Accessibility & contrast

On white

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

On black

10.97
#C4C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C042
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C042#FFFFFF#000000##000000
##C4C0421.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c042;
/* rgb */ color: rgb(196, 192, 66);
/* oklch */ color: oklch(78.8% 0.144 107.5);
Tailwind
colors: {
  custom: {
    50: '#d9d27d',
    500: '#c4c042',
    950: '#000000',
  },
}
SCSS
$custom: #c4c042;
$custom-light: #d9d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c042",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 58.154,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78806,
    "c": 0.14443,
    "h": 107.5
  },
  "luminance": 0.49828
}

Semantic roles & 50–950 ramp

primary
#C4C042
secondary
#9496CE
accent
#50DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C4C042

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

Preview Lab → · Contrast checker → · Palette generator →

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