#C2C52D#C2C52D

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

Color values

HEX#C2C52D
RGBrgb(194, 197, 45)
HSLhsl(61, 63%, 47%)
HSVhsv(61, 77%, 77%)
CMYKcmyk(1.5%, 0%, 77.2%, 22.7%)
CIE-LABlab(77.04, -18.11, 69.60)
CIE-LCHlch(77.04, 71.92, 104.58°)
OKLaboklab(79.58% -0.0575 0.1517)
OKLCHoklch(79.58% 0.162 110.8)
XYZxyz(42.6896, 51.5925, 10.1917)
Luminance0.5159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C52D #302DC5
analogous
#C57C2D #C2C52D #76C52D
triadic
#C2C52D #2DC2C5 #C52DC2
tetradic
#C2C52D #2DC57C #302DC5 #C52D76
square
#C2C52D #2DC57C #302DC5 #C52D76
split-complementary
#C2C52D #2D76C5 #7C2DC5
monochromatic
#606116 #919322 #C2C52D #D6D957 #E2E488

Accessibility & contrast

On white

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

On black

11.32
#C2C52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C52D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C52D#FFFFFF#000000##000000
##C2C52D1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D6C03B
Tritanopia (blue-blind)
#D0B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c52d;
/* rgb */ color: rgb(194, 197, 45);
/* oklch */ color: oklch(79.6% 0.162 110.8);
Tailwind
colors: {
  custom: {
    50: '#d8d673',
    500: '#c2c52d',
    950: '#000000',
  },
}
SCSS
$custom: #c2c52d;
$custom-light: #d8d673;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c52d",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 45
  },
  "hsl": {
    "h": 61.184,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79583,
    "c": 0.16226,
    "h": 110.8
  },
  "luminance": 0.51591
}

Semantic roles & 50–950 ramp

primary
#C2C52D
secondary
#2B2A6C
accent
#42E645
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C52D

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

Preview Lab → · Contrast checker → · Palette generator →

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