#C2C755#C2C755

#C2C755 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.137 H 111.4°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#C2C755
RGBrgb(194, 199, 85)
HSLhsl(63, 50%, 56%)
HSVhsv(63, 57%, 78%)
CMYKcmyk(2.5%, 0%, 57.3%, 22%)
CIE-LABlab(77.86, -16.86, 55.23)
CIE-LCHlch(77.86, 57.75, 106.98°)
OKLaboklab(80.33% -0.0501 0.1276)
OKLCHoklch(80.33% 0.137 111.4)
XYZxyz(44.3124, 52.9730, 16.4831)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C755 #5A55C7
analogous
#C79355 #C2C755 #89C755
triadic
#C2C755 #55C2C7 #C755C2
tetradic
#C2C755 #55C793 #5A55C7 #C75589
square
#C2C755 #55C793 #5A55C7 #C75589
split-complementary
#C2C755 #5589C7 #9355C7
monochromatic
#767A28 #A3A837 #C2C755 #D3D683 #E3E5B1

Accessibility & contrast

On white

1.81
#C2C755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#C2C755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C755
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C755#FFFFFF#000000##000000
##C2C7551.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#D6C25C
Tritanopia (blue-blind)
#CEBCAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c755;
/* rgb */ color: rgb(194, 199, 85);
/* oklch */ color: oklch(80.3% 0.137 111.4);
Tailwind
colors: {
  custom: {
    50: '#d7d789',
    500: '#c2c755',
    950: '#000000',
  },
}
SCSS
$custom: #c2c755;
$custom-light: #d7d789;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c755",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 62.632,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8033,
    "c": 0.13713,
    "h": 111.4
  },
  "luminance": 0.52972
}

Semantic roles & 50–950 ramp

primary
#C2C755
secondary
#413E82
accent
#4EDA54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C755

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

Preview Lab → · Contrast checker → · Palette generator →

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