#C2C558#C2C558

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

Color values

HEX#C2C558
RGBrgb(194, 197, 88)
HSLhsl(62, 48%, 56%)
HSVhsv(62, 55%, 77%)
CMYKcmyk(1.5%, 0%, 55.3%, 22.7%)
CIE-LABlab(77.34, -15.63, 53.30)
CIE-LCHlch(77.34, 55.55, 106.34°)
OKLaboklab(79.93% -0.0463 0.1239)
OKLCHoklch(79.93% 0.132 110.5)
XYZxyz(43.9769, 52.1074, 16.9718)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C558 #5B58C5
analogous
#C59158 #C2C558 #8BC558
triadic
#C2C558 #58C2C5 #C558C2
tetradic
#C2C558 #58C591 #5B58C5 #C5588B
square
#C2C558 #58C591 #5B58C5 #C5588B
split-complementary
#C2C558 #588BC5 #9158C5
monochromatic
#77792A #A3A63A #C2C558 #D3D585 #E3E5B3

Accessibility & contrast

On white

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

On black

11.42
#C2C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C558
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C558#FFFFFF#000000##000000
##C2C5581.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#CEBAAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c558;
/* rgb */ color: rgb(194, 197, 88);
/* oklch */ color: oklch(79.9% 0.132 110.5);
Tailwind
colors: {
  custom: {
    50: '#d7d68b',
    500: '#c2c558',
    950: '#000000',
  },
}
SCSS
$custom: #c2c558;
$custom-light: #d7d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c558",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 61.651,
    "s": 48.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79929,
    "c": 0.13224,
    "h": 110.5
  },
  "luminance": 0.52106
}

Semantic roles & 50–950 ramp

primary
#C2C558
secondary
#424081
accent
#50D854
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C558

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

Preview Lab → · Contrast checker → · Palette generator →

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