#C2C557#C2C557

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

Color values

HEX#C2C557
RGBrgb(194, 197, 87)
HSLhsl(62, 49%, 56%)
HSVhsv(62, 56%, 77%)
CMYKcmyk(1.5%, 0%, 55.8%, 22.7%)
CIE-LABlab(77.34, -15.71, 53.75)
CIE-LCHlch(77.34, 56.00, 106.29°)
OKLaboklab(79.92% -0.0466 0.1247)
OKLCHoklch(79.92% 0.133 110.5)
XYZxyz(43.9358, 52.0910, 16.7551)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C557 #5A57C5
analogous
#C59157 #C2C557 #8BC557
triadic
#C2C557 #57C2C5 #C557C2
tetradic
#C2C557 #57C591 #5A57C5 #C5578B
square
#C2C557 #57C591 #5A57C5 #C5578B
split-complementary
#C2C557 #578BC5 #9157C5
monochromatic
#767829 #A3A639 #C2C557 #D3D584 #E3E4B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C557#FFFFFF#000000##000000
##C2C5571.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)
#D3BD4B
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#CEBAAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c557;
/* rgb */ color: rgb(194, 197, 87);
/* oklch */ color: oklch(79.9% 0.133 110.5);
Tailwind
colors: {
  custom: {
    50: '#d7d68a',
    500: '#c2c557',
    950: '#000000',
  },
}
SCSS
$custom: #c2c557;
$custom-light: #d7d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c557",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 61.636,
    "s": 48.673,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79918,
    "c": 0.13313,
    "h": 110.5
  },
  "luminance": 0.5209
}

Semantic roles & 50–950 ramp

primary
#C2C557
secondary
#413F81
accent
#50D853
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C557

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

Preview Lab → · Contrast checker → · Palette generator →

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