#C2C757#C2C757

#C2C757 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.4% C 0.135 H 111.4°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#C2C757
RGBrgb(194, 199, 87)
HSLhsl(63, 50%, 56%)
HSVhsv(63, 56%, 78%)
CMYKcmyk(2.5%, 0%, 56.3%, 22%)
CIE-LABlab(77.88, -16.71, 54.36)
CIE-LCHlch(77.88, 56.87, 107.09°)
OKLaboklab(80.35% -0.0495 0.126)
OKLCHoklch(80.35% 0.135 111.4)
XYZxyz(44.3929, 53.0053, 16.9075)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C757 #5C57C7
analogous
#C79457 #C2C757 #8AC757
triadic
#C2C757 #57C2C7 #C757C2
tetradic
#C2C757 #57C794 #5C57C7 #C7578A
square
#C2C757 #57C794 #5C57C7 #C7578A
split-complementary
#C2C757 #578AC7 #9457C7
monochromatic
#777B29 #A4A938 #C2C757 #D3D685 #E3E6B3

Accessibility & contrast

On white

1.81
#C2C757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#C2C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C757
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C757#FFFFFF#000000##000000
##C2C7571.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#D5C25D
Tritanopia (blue-blind)
#CEBCAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c757;
/* rgb */ color: rgb(194, 199, 87);
/* oklch */ color: oklch(80.4% 0.135 111.4);
Tailwind
colors: {
  custom: {
    50: '#d7d78a',
    500: '#c2c757',
    950: '#000000',
  },
}
SCSS
$custom: #c2c757;
$custom-light: #d7d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c757",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 62.679,
    "s": 50,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80351,
    "c": 0.13537,
    "h": 111.4
  },
  "luminance": 0.53004
}

Semantic roles & 50–950 ramp

primary
#C2C757
secondary
#423F83
accent
#4EDA55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C757

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

Preview Lab → · Contrast checker → · Palette generator →

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