#C2C052#C2C052

#C2C052 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.8% C 0.132 H 108.1°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#C2C052
RGBrgb(194, 192, 82)
HSLhsl(59, 48%, 54%)
HSVhsv(59, 58%, 76%)
CMYKcmyk(0%, 1%, 57.7%, 23.9%)
CIE-LABlab(75.93, -13.56, 54.43)
CIE-LCHlch(75.93, 56.09, 103.99°)
OKLaboklab(78.78% -0.0411 0.1256)
OKLCHoklch(78.78% 0.132 108.1)
XYZxyz(42.6220, 49.7790, 15.3441)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C052 #5254C2
analogous
#C28852 #C2C052 #8CC252
triadic
#C2C052 #52C2C0 #C052C2
tetradic
#C2C052 #52C288 #5254C2 #C2528C
square
#C2C052 #52C288 #5254C2 #C2528C
split-complementary
#C2C052 #528CC2 #8852C2
monochromatic
#727028 #9F9D38 #C2C052 #D2D07F #E2E1AC

Accessibility & contrast

On white

1.92
#C2C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#C2C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C052
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C052#FFFFFF#000000##000000
##C2C0521.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D0BD58
Tritanopia (blue-blind)
#CFB5A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c052;
/* rgb */ color: rgb(194, 192, 82);
/* oklch */ color: oklch(78.8% 0.132 108.1);
Tailwind
colors: {
  custom: {
    50: '#d7d287',
    500: '#c2c052',
    950: '#000000',
  },
}
SCSS
$custom: #c2c052;
$custom-light: #d7d287;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c052",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 58.929,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78784,
    "c": 0.13211,
    "h": 108.1
  },
  "luminance": 0.49778
}

Semantic roles & 50–950 ramp

primary
#C2C052
secondary
#A0A1D0
accent
#53D750
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C2C052

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

Preview Lab → · Contrast checker → · Palette generator →

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