#C2C855#C2C855

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

Color values

HEX#C2C855
RGBrgb(194, 200, 85)
HSLhsl(63, 51%, 56%)
HSVhsv(63, 58%, 78%)
CMYKcmyk(3%, 0%, 57.5%, 21.6%)
CIE-LABlab(78.13, -17.36, 55.54)
CIE-LCHlch(78.13, 58.19, 107.36°)
OKLaboklab(80.55% -0.0515 0.1283)
OKLCHoklch(80.55% 0.138 111.9)
XYZxyz(44.5432, 53.4347, 16.5600)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C855 #5B55C8
analogous
#C89455 #C2C855 #88C855
triadic
#C2C855 #55C2C8 #C855C2
tetradic
#C2C855 #55C894 #5B55C8 #C85588
square
#C2C855 #55C894 #5B55C8 #C85588
split-complementary
#C2C855 #5588C8 #9455C8
monochromatic
#777B28 #A3A937 #C2C855 #D3D783 #E3E6B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C855#FFFFFF#000000##000000
##C2C8551.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)
#D6C048
Deuteranopia (green-blind)
#D6C35C
Tritanopia (blue-blind)
#CEBDAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c855;
/* rgb */ color: rgb(194, 200, 85);
/* oklch */ color: oklch(80.5% 0.138 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d889',
    500: '#c2c855',
    950: '#000000',
  },
}
SCSS
$custom: #c2c855;
$custom-light: #d7d889;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c855",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 63.13,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.13825,
    "h": 111.9
  },
  "luminance": 0.53434
}

Semantic roles & 50–950 ramp

primary
#C2C855
secondary
#423E83
accent
#4DDB55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C855

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

Preview Lab → · Contrast checker → · Palette generator →

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