#C2C552#C2C552

#C2C552 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.9% C 0.137 H 110.5°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#C2C552
RGBrgb(194, 197, 82)
HSLhsl(62, 50%, 55%)
HSVhsv(62, 58%, 77%)
CMYKcmyk(1.5%, 0%, 58.4%, 22.7%)
CIE-LABlab(77.29, -16.08, 55.93)
CIE-LCHlch(77.29, 58.20, 106.04°)
OKLaboklab(79.86% -0.0482 0.1288)
OKLCHoklch(79.86% 0.137 110.5)
XYZxyz(43.7386, 52.0121, 15.7163)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C552 #5552C5
analogous
#C58E52 #C2C552 #89C552
triadic
#C2C552 #52C2C5 #C552C2
tetradic
#C2C552 #52C58E #5552C5 #C55289
square
#C2C552 #52C58E #5552C5 #C55289
split-complementary
#C2C552 #5289C5 #8E52C5
monochromatic
#737527 #A0A337 #C2C552 #D2D480 #E2E4AE

Accessibility & contrast

On white

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

On black

11.40
#C2C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C552
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C552#FFFFFF#000000##000000
##C2C5521.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D4C159
Tritanopia (blue-blind)
#CEBAAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c552;
/* rgb */ color: rgb(194, 197, 82);
/* oklch */ color: oklch(79.9% 0.137 110.5);
Tailwind
colors: {
  custom: {
    50: '#d7d687',
    500: '#c2c552',
    950: '#000000',
  },
}
SCSS
$custom: #c2c552;
$custom-light: #d7d687;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c552",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 61.565,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79865,
    "c": 0.13749,
    "h": 110.5
  },
  "luminance": 0.52011
}

Semantic roles & 50–950 ramp

primary
#C2C552
secondary
#3F3D7E
accent
#4ED952
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C552

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

Preview Lab → · Contrast checker → · Palette generator →

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