#C2C640#C2C640

#C2C640 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.9% C 0.152 H 111.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#C2C640
RGBrgb(194, 198, 64)
HSLhsl(62, 54%, 51%)
HSVhsv(62, 68%, 78%)
CMYKcmyk(2%, 0%, 67.7%, 22.4%)
CIE-LABlab(77.42, -17.73, 63.48)
CIE-LCHlch(77.42, 65.91, 105.60°)
OKLaboklab(79.92% -0.0547 0.1421)
OKLCHoklch(79.92% 0.152 111.1)
XYZxyz(43.3690, 52.2288, 12.6461)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C640 #4440C6
analogous
#C68740 #C2C640 #7FC640
triadic
#C2C640 #40C2C6 #C640C2
tetradic
#C2C640 #40C687 #4440C6 #C6407F
square
#C2C640 #40C687 #4440C6 #C6407F
split-complementary
#C2C640 #407FC6 #8740C6
monochromatic
#696C20 #979B2E #C2C640 #D1D46F #E0E29E

Accessibility & contrast

On white

1.83
#C2C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#C2C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C640
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C640#FFFFFF#000000##000000
##C2C6401.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c640;
/* rgb */ color: rgb(194, 198, 64);
/* oklch */ color: oklch(79.9% 0.152 111.1);
Tailwind
colors: {
  custom: {
    50: '#d8d77d',
    500: '#c2c640',
    950: '#000000',
  },
}
SCSS
$custom: #c2c640;
$custom-light: #d8d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c640",
  "rgb": {
    "r": 194,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 61.791,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.15228,
    "h": 111.1
  },
  "luminance": 0.52228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2C640

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

Preview Lab → · Contrast checker → · Palette generator →

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