#C2C156#C2C156

#C2C156 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.130 H 108.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C2C156
RGBrgb(194, 193, 86)
HSLhsl(59, 47%, 55%)
HSVhsv(59, 56%, 76%)
CMYKcmyk(0%, 0.5%, 55.7%, 23.9%)
CIE-LABlab(76.24, -13.76, 52.97)
CIE-LCHlch(76.24, 54.73, 104.56°)
OKLaboklab(79.04% -0.0412 0.1229)
OKLCHoklch(79.04% 0.13 108.5)
XYZxyz(42.9990, 50.2823, 16.2427)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C156 #5657C2
analogous
#C28B56 #C2C156 #8DC256
triadic
#C2C156 #56C2C1 #C156C2
tetradic
#C2C156 #56C28B #5657C2 #C2568D
square
#C2C156 #56C28B #5657C2 #C2568D
split-complementary
#C2C156 #568DC2 #8B56C2
monochromatic
#74732A #A1A03A #C2C156 #D2D183 #E2E2B0

Accessibility & contrast

On white

1.90
#C2C156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C2C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C156
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C156#FFFFFF#000000##000000
##C2C1561.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4B
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#CEB6AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c156;
/* rgb */ color: rgb(194, 193, 86);
/* oklch */ color: oklch(79.0% 0.130 108.5);
Tailwind
colors: {
  custom: {
    50: '#d7d389',
    500: '#c2c156',
    950: '#000000',
  },
}
SCSS
$custom: #c2c156;
$custom-light: #d7d389;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c156",
  "rgb": {
    "r": 194,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 59.444,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79043,
    "c": 0.12965,
    "h": 108.5
  },
  "luminance": 0.50281
}

Semantic roles & 50–950 ramp

primary
#C2C156
secondary
#3F407D
accent
#52D751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C156

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

Preview Lab → · Contrast checker → · Palette generator →

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