#C1C640#C1C640

#C1C640 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.8% C 0.153 H 111.5°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#C1C640
RGBrgb(193, 198, 64)
HSLhsl(62, 54%, 51%)
HSVhsv(62, 68%, 78%)
CMYKcmyk(2.5%, 0%, 67.7%, 22.4%)
CIE-LABlab(77.34, -18.15, 63.38)
CIE-LCHlch(77.34, 65.93, 105.98°)
OKLaboklab(79.84% -0.0559 0.1419)
OKLCHoklch(79.84% 0.153 111.5)
XYZxyz(43.1132, 52.0968, 12.6341)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1C640 #4540C6
analogous
#C68840 #C1C640 #7EC640
triadic
#C1C640 #40C1C6 #C640C1
tetradic
#C1C640 #40C688 #4540C6 #C6407E
square
#C1C640 #40C688 #4540C6 #C6407E
split-complementary
#C1C640 #407EC6 #8840C6
monochromatic
#696C20 #979B2E #C1C640 #D0D46F #E0E29E

Accessibility & contrast

On white

1.84
#C1C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#C1C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1C640
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1C640#FFFFFF#000000##000000
##C1C6401.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2C
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#CEBAAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c1c640;
/* rgb */ color: rgb(193, 198, 64);
/* oklch */ color: oklch(79.8% 0.153 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d77d',
    500: '#c1c640',
    950: '#000000',
  },
}
SCSS
$custom: #c1c640;
$custom-light: #d7d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1c640",
  "rgb": {
    "r": 193,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 62.239,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7984,
    "c": 0.15251,
    "h": 111.5
  },
  "luminance": 0.52096
}

Semantic roles & 50–950 ramp

primary
#C1C640
secondary
#373575
accent
#4ADD50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C1C640

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

Preview Lab → · Contrast checker → · Palette generator →

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