#C2C852#C2C852

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

Color values

HEX#C2C852
RGBrgb(194, 200, 82)
HSLhsl(63, 52%, 55%)
HSVhsv(63, 59%, 78%)
CMYKcmyk(3%, 0%, 59%, 21.6%)
CIE-LABlab(78.10, -17.58, 56.83)
CIE-LCHlch(78.10, 59.49, 107.19°)
OKLaboklab(80.52% -0.0525 0.1307)
OKLCHoklch(80.52% 0.141 111.9)
XYZxyz(44.4265, 53.3880, 15.9456)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C852 #5852C8
analogous
#C89352 #C2C852 #87C852
triadic
#C2C852 #52C2C8 #C852C2
tetradic
#C2C852 #52C893 #5852C8 #C85287
square
#C2C852 #52C893 #5852C8 #C85287
split-complementary
#C2C852 #5287C8 #9352C8
monochromatic
#757927 #A2A835 #C2C852 #D2D780 #E3E6AF

Accessibility & contrast

On white

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

On black

11.68
#C2C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C852
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C852#FFFFFF#000000##000000
##C2C8521.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c852;
/* rgb */ color: rgb(194, 200, 82);
/* oklch */ color: oklch(80.5% 0.141 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d887',
    500: '#c2c852',
    950: '#000000',
  },
}
SCSS
$custom: #c2c852;
$custom-light: #d7d887;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c852",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 63.051,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80516,
    "c": 0.1408,
    "h": 111.9
  },
  "luminance": 0.53387
}

Semantic roles & 50–950 ramp

primary
#C2C852
secondary
#403D82
accent
#4DDB54
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C852

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

Preview Lab → · Contrast checker → · Palette generator →

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