#C2C523#C2C523

#C2C523 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.5% C 0.167 H 110.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#C2C523
RGBrgb(194, 197, 35)
HSLhsl(61, 70%, 45%)
HSVhsv(61, 82%, 77%)
CMYKcmyk(1.5%, 0%, 82.2%, 22.7%)
CIE-LABlab(77.00, -18.44, 72.27)
CIE-LCHlch(77.00, 74.59, 104.31°)
OKLaboklab(79.54% -0.0591 0.1557)
OKLCHoklch(79.54% 0.167 110.8)
XYZxyz(42.5194, 51.5244, 9.2952)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C523 #2623C5
analogous
#C57723 #C2C523 #71C523
triadic
#C2C523 #23C2C5 #C523C2
tetradic
#C2C523 #23C577 #2623C5 #C52371
square
#C2C523 #23C577 #2623C5 #C52371
split-complementary
#C2C523 #2371C5 #7723C5
monochromatic
#5C5D11 #8F911A #C2C523 #DBDE47 #E6E87B

Accessibility & contrast

On white

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

On black

11.30
#C2C523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C523
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C523#FFFFFF#000000##000000
##C2C5231.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c523;
/* rgb */ color: rgb(194, 197, 35);
/* oklch */ color: oklch(79.5% 0.167 110.8);
Tailwind
colors: {
  custom: {
    50: '#d9d66f',
    500: '#c2c523',
    950: '#000000',
  },
}
SCSS
$custom: #c2c523;
$custom-light: #d9d66f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c523",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 35
  },
  "hsl": {
    "h": 61.111,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.79538,
    "c": 0.16658,
    "h": 110.8
  },
  "luminance": 0.51523
}

Semantic roles & 50–950 ramp

primary
#C2C523
secondary
#252468
accent
#3BED3E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C2C523

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

Preview Lab → · Contrast checker → · Palette generator →

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