#C1C040#C1C040

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

Color values

HEX#C1C040
RGBrgb(193, 192, 64)
HSLhsl(60, 51%, 50%)
HSVhsv(60, 67%, 76%)
CMYKcmyk(0%, 0.5%, 66.8%, 24.3%)
CIE-LABlab(75.70, -15.14, 61.73)
CIE-LCHlch(75.70, 63.56, 103.78°)
OKLaboklab(78.54% -0.0474 0.1384)
OKLCHoklch(78.54% 0.146 108.9)
XYZxyz(41.7688, 49.4081, 12.1860)
Luminance0.4941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C040 #4041C1
analogous
#C17F40 #C1C040 #81C140
triadic
#C1C040 #40C1C0 #C040C1
tetradic
#C1C040 #40C17F #4041C1 #C14081
square
#C1C040 #40C17F #4041C1 #C14081
split-complementary
#C1C040 #4081C1 #7F40C1
monochromatic
#666521 #949330 #C1C040 #D0CF6E #DFDE9C

Accessibility & contrast

On white

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

On black

10.88
#C1C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C040
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C040#FFFFFF#000000##000000
##C1C0401.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1c040;
/* rgb */ color: rgb(193, 192, 64);
/* oklch */ color: oklch(78.5% 0.146 108.9);
Tailwind
colors: {
  custom: {
    50: '#d7d27c',
    500: '#c1c040',
    950: '#000000',
  },
}
SCSS
$custom: #c1c040;
$custom-light: #d7d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c040",
  "rgb": {
    "r": 193,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 59.535,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78535,
    "c": 0.14632,
    "h": 108.9
  },
  "luminance": 0.49407
}

Semantic roles & 50–950 ramp

primary
#C1C040
secondary
#9292CB
accent
#4EDA4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C1C040

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

Preview Lab → · Contrast checker → · Palette generator →

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