#C2C856#C2C856

#C2C856 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.6% C 0.137 H 111.9°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C2C856
RGBrgb(194, 200, 86)
HSLhsl(63, 51%, 56%)
HSVhsv(63, 57%, 78%)
CMYKcmyk(3%, 0%, 57%, 21.6%)
CIE-LABlab(78.14, -17.29, 55.10)
CIE-LCHlch(78.14, 57.75, 107.42°)
OKLaboklab(80.56% -0.0512 0.1275)
OKLCHoklch(80.56% 0.137 111.9)
XYZxyz(44.5832, 53.4507, 16.7708)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C856 #5C56C8
analogous
#C89556 #C2C856 #89C856
triadic
#C2C856 #56C2C8 #C856C2
tetradic
#C2C856 #56C895 #5C56C8 #C85689
square
#C2C856 #56C895 #5C56C8 #C85689
split-complementary
#C2C856 #5689C8 #9556C8
monochromatic
#777B28 #A4AA37 #C2C856 #D3D784 #E3E6B2

Accessibility & contrast

On white

1.80
#C2C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#C2C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C856
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C856#FFFFFF#000000##000000
##C2C8561.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#CEBDAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c856;
/* rgb */ color: rgb(194, 200, 86);
/* oklch */ color: oklch(80.6% 0.137 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d88a',
    500: '#c2c856',
    950: '#000000',
  },
}
SCSS
$custom: #c2c856;
$custom-light: #d7d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c856",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 63.158,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80557,
    "c": 0.13738,
    "h": 111.9
  },
  "luminance": 0.5345
}

Semantic roles & 50–950 ramp

primary
#C2C856
secondary
#423F84
accent
#4DDA55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C856

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

Preview Lab → · Contrast checker → · Palette generator →

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