#C1C042#C1C042

#C1C042 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.6% C 0.145 H 108.9°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C1C042
RGBrgb(193, 192, 66)
HSLhsl(60, 51%, 51%)
HSVhsv(60, 66%, 76%)
CMYKcmyk(0%, 0.5%, 65.8%, 24.3%)
CIE-LABlab(75.72, -15.03, 60.96)
CIE-LCHlch(75.72, 62.78, 103.85°)
OKLaboklab(78.55% -0.0469 0.1371)
OKLCHoklch(78.55% 0.145 108.9)
XYZxyz(41.8267, 49.4313, 12.4911)
Luminance0.4943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C042 #4243C1
analogous
#C18142 #C1C042 #82C142
triadic
#C1C042 #42C1C0 #C042C1
tetradic
#C1C042 #42C181 #4243C1 #C14282
square
#C1C042 #42C181 #4243C1 #C14282
split-complementary
#C1C042 #4282C1 #8142C1
monochromatic
#676622 #959431 #C1C042 #D0CF70 #DFDF9E

Accessibility & contrast

On white

1.93
#C1C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#C1C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C042
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C042#FFFFFF#000000##000000
##C1C0421.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#CEB4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c1c042;
/* rgb */ color: rgb(193, 192, 66);
/* oklch */ color: oklch(78.6% 0.145 108.9);
Tailwind
colors: {
  custom: {
    50: '#d7d27d',
    500: '#c1c042',
    950: '#000000',
  },
}
SCSS
$custom: #c1c042;
$custom-light: #d7d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c042",
  "rgb": {
    "r": 193,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 59.528,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78551,
    "c": 0.14491,
    "h": 108.9
  },
  "luminance": 0.4943
}

Semantic roles & 50–950 ramp

primary
#C1C042
secondary
#9394CC
accent
#4FDA4E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C1C042

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

Preview Lab → · Contrast checker → · Palette generator →

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