#C1C842#C1C842

#C1C842 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.153 H 112.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C1C842
RGBrgb(193, 200, 66)
HSLhsl(63, 55%, 52%)
HSVhsv(63, 67%, 78%)
CMYKcmyk(3.5%, 0%, 67%, 21.6%)
CIE-LABlab(77.90, -19.03, 63.18)
CIE-LCHlch(77.90, 65.98, 106.76°)
OKLaboklab(80.29% -0.0581 0.1418)
OKLCHoklch(80.29% 0.153 112.3)
XYZxyz(43.6313, 53.0403, 13.0926)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C842 #4942C8
analogous
#C88C42 #C1C842 #7EC842
triadic
#C1C842 #42C1C8 #C842C1
tetradic
#C1C842 #42C88C #4942C8 #C8427E
square
#C1C842 #42C88C #4942C8 #C8427E
split-complementary
#C1C842 #427EC8 #8C42C8
monochromatic
#6B6F20 #999F2E #C1C842 #D1D671 #E0E4A1

Accessibility & contrast

On white

1.81
#C1C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#C1C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C842
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C842#FFFFFF#000000##000000
##C1C8421.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#CEBCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c1c842;
/* rgb */ color: rgb(193, 200, 66);
/* oklch */ color: oklch(80.3% 0.153 112.3);
Tailwind
colors: {
  custom: {
    50: '#d7d87e',
    500: '#c1c842',
    950: '#000000',
  },
}
SCSS
$custom: #c1c842;
$custom-light: #d7d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c842",
  "rgb": {
    "r": 193,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 63.134,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80293,
    "c": 0.15326,
    "h": 112.3
  },
  "luminance": 0.53039
}

Semantic roles & 50–950 ramp

primary
#C1C842
secondary
#393679
accent
#4ADE51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1C842

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

Preview Lab → · Contrast checker → · Palette generator →

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