#C2C452#C2C452

#C2C452 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.6% C 0.136 H 110.1°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C2C452
RGBrgb(194, 196, 82)
HSLhsl(61, 49%, 55%)
HSVhsv(61, 58%, 77%)
CMYKcmyk(1%, 0%, 58.2%, 23.1%)
CIE-LABlab(77.02, -15.58, 55.63)
CIE-LCHlch(77.02, 57.77, 105.64°)
OKLaboklab(79.65% -0.0468 0.1281)
OKLCHoklch(79.65% 0.136 110.1)
XYZxyz(43.5122, 51.5595, 15.6409)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C452 #5452C4
analogous
#C48D52 #C2C452 #89C452
triadic
#C2C452 #52C2C4 #C452C2
tetradic
#C2C452 #52C48D #5452C4 #C45289
square
#C2C452 #52C48D #5452C4 #C45289
split-complementary
#C2C452 #5289C4 #8D52C4
monochromatic
#737428 #A0A237 #C2C452 #D2D480 #E2E3AD

Accessibility & contrast

On white

1.86
#C2C452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#C2C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C452
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C452#FFFFFF#000000##000000
##C2C4521.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#CEB9AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c452;
/* rgb */ color: rgb(194, 196, 82);
/* oklch */ color: oklch(79.6% 0.136 110.1);
Tailwind
colors: {
  custom: {
    50: '#d7d587',
    500: '#c2c452',
    950: '#000000',
  },
}
SCSS
$custom: #c2c452;
$custom-light: #d7d587;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c452",
  "rgb": {
    "r": 194,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 61.053,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79648,
    "c": 0.13639,
    "h": 110.1
  },
  "luminance": 0.51558
}

Semantic roles & 50–950 ramp

primary
#C2C452
secondary
#3E3D7D
accent
#4FD952
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C452

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

Preview Lab → · Contrast checker → · Palette generator →

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