#C2C057#C2C057

#C2C057 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.8% C 0.128 H 108.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C2C057
RGBrgb(194, 192, 87)
HSLhsl(59, 47%, 55%)
HSVhsv(59, 55%, 76%)
CMYKcmyk(0%, 1%, 55.2%, 23.9%)
CIE-LABlab(75.98, -13.18, 52.21)
CIE-LCHlch(75.98, 53.85, 104.16°)
OKLaboklab(78.84% -0.0394 0.1214)
OKLCHoklch(78.84% 0.128 108)
XYZxyz(42.8193, 49.8579, 16.3829)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C057 #5759C2
analogous
#C28B57 #C2C057 #8EC257
triadic
#C2C057 #57C2C0 #C057C2
tetradic
#C2C057 #57C28B #5759C2 #C2578E
square
#C2C057 #57C28B #5759C2 #C2578E
split-complementary
#C2C057 #578EC2 #8B57C2
monochromatic
#74732A #A19F3B #C2C057 #D2D184 #E3E2B1

Accessibility & contrast

On white

1.91
#C2C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#C2C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C057
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C057#FFFFFF#000000##000000
##C2C0571.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94C
Deuteranopia (green-blind)
#D0BD5D
Tritanopia (blue-blind)
#CEB5A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c057;
/* rgb */ color: rgb(194, 192, 87);
/* oklch */ color: oklch(78.8% 0.128 108.0);
Tailwind
colors: {
  custom: {
    50: '#d7d28a',
    500: '#c2c057',
    950: '#000000',
  },
}
SCSS
$custom: #c2c057;
$custom-light: #d7d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c057",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 58.879,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78839,
    "c": 0.12766,
    "h": 108
  },
  "luminance": 0.49857
}

Semantic roles & 50–950 ramp

primary
#C2C057
secondary
#A4A5D1
accent
#54D651
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C2C057

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

Preview Lab → · Contrast checker → · Palette generator →

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