#C2C645#C2C645

#C2C645 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.0% C 0.149 H 111.0°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#C2C645
RGBrgb(194, 198, 69)
HSLhsl(62, 53%, 52%)
HSVhsv(62, 65%, 78%)
CMYKcmyk(2%, 0%, 65.2%, 22.4%)
CIE-LABlab(77.45, -17.44, 61.57)
CIE-LCHlch(77.45, 63.99, 105.82°)
OKLaboklab(79.96% -0.0534 0.1389)
OKLCHoklch(79.96% 0.149 111)
XYZxyz(43.5177, 52.2883, 13.4293)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C645 #4945C6
analogous
#C68945 #C2C645 #82C645
triadic
#C2C645 #45C2C6 #C645C2
tetradic
#C2C645 #45C689 #4945C6 #C64582
square
#C2C645 #45C689 #4945C6 #C64582
split-complementary
#C2C645 #4582C6 #8945C6
monochromatic
#6C6F22 #9A9E30 #C2C645 #D1D474 #E1E3A3

Accessibility & contrast

On white

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

On black

11.46
#C2C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C645
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C645#FFFFFF#000000##000000
##C2C6451.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD33
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#CFBAAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c645;
/* rgb */ color: rgb(194, 198, 69);
/* oklch */ color: oklch(80.0% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#d8d77f',
    500: '#c2c645',
    950: '#000000',
  },
}
SCSS
$custom: #c2c645;
$custom-light: #d8d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c645",
  "rgb": {
    "r": 194,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 61.86,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79962,
    "c": 0.14878,
    "h": 111
  },
  "luminance": 0.52287
}

Semantic roles & 50–950 ramp

primary
#C2C645
secondary
#393778
accent
#4BDC50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C645

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

Preview Lab → · Contrast checker → · Palette generator →

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