#C2C851#C2C851

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

Color values

HEX#C2C851
RGBrgb(194, 200, 81)
HSLhsl(63, 52%, 55%)
HSVhsv(63, 60%, 78%)
CMYKcmyk(3%, 0%, 59.5%, 21.6%)
CIE-LABlab(78.09, -17.65, 57.25)
CIE-LCHlch(78.09, 59.91, 107.14°)
OKLaboklab(80.51% -0.0528 0.1314)
OKLCHoklch(80.51% 0.142 111.9)
XYZxyz(44.3888, 53.3729, 15.7467)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C851 #5751C8
analogous
#C89251 #C2C851 #87C851
triadic
#C2C851 #51C2C8 #C851C2
tetradic
#C2C851 #51C892 #5751C8 #C85187
square
#C2C851 #51C892 #5751C8 #C85187
split-complementary
#C2C851 #5187C8 #9251C8
monochromatic
#747926 #A1A735 #C2C851 #D2D780 #E3E5AE

Accessibility & contrast

On white

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

On black

11.67
#C2C851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C851
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C851#FFFFFF#000000##000000
##C2C8511.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c851;
/* rgb */ color: rgb(194, 200, 81);
/* oklch */ color: oklch(80.5% 0.142 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d887',
    500: '#c2c851',
    950: '#000000',
  },
}
SCSS
$custom: #c2c851;
$custom-light: #d7d887;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c851",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 63.025,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80506,
    "c": 0.14164,
    "h": 111.9
  },
  "luminance": 0.53372
}

Semantic roles & 50–950 ramp

primary
#C2C851
secondary
#403C81
accent
#4CDB54
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2C851

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

Preview Lab → · Contrast checker → · Palette generator →

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