#C2C857#C2C857

#C2C857 is a light, vivid yellow. Relative luminance 0.535; 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#C2C857
RGBrgb(194, 200, 87)
HSLhsl(63, 51%, 56%)
HSVhsv(63, 57%, 78%)
CMYKcmyk(3%, 0%, 56.5%, 21.6%)
CIE-LABlab(78.15, -17.21, 54.67)
CIE-LCHlch(78.15, 57.31, 107.47°)
OKLaboklab(80.57% -0.0509 0.1267)
OKLCHoklch(80.57% 0.137 111.9)
XYZxyz(44.6238, 53.4669, 16.9844)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C857 #5D57C8
analogous
#C89657 #C2C857 #8AC857
triadic
#C2C857 #57C2C8 #C857C2
tetradic
#C2C857 #57C896 #5D57C8 #C8578A
square
#C2C857 #57C896 #5D57C8 #C8578A
split-complementary
#C2C857 #578AC8 #9657C8
monochromatic
#787C29 #A4AA38 #C2C857 #D3D785 #E3E6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C857#FFFFFF#000000##000000
##C2C8571.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)
#D6C04B
Deuteranopia (green-blind)
#D6C35E
Tritanopia (blue-blind)
#CEBDAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c857;
/* rgb */ color: rgb(194, 200, 87);
/* oklch */ color: oklch(80.6% 0.137 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d88a',
    500: '#c2c857',
    950: '#000000',
  },
}
SCSS
$custom: #c2c857;
$custom-light: #d7d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c857",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 63.186,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80568,
    "c": 0.13651,
    "h": 111.9
  },
  "luminance": 0.53466
}

Semantic roles & 50–950 ramp

primary
#C2C857
secondary
#433F84
accent
#4EDA55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C857

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

Preview Lab → · Contrast checker → · Palette generator →

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