#C2C751#C2C751

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

Color values

HEX#C2C751
RGBrgb(194, 199, 81)
HSLhsl(63, 51%, 55%)
HSVhsv(63, 59%, 78%)
CMYKcmyk(2.5%, 0%, 59.3%, 22%)
CIE-LABlab(77.82, -17.16, 56.95)
CIE-LCHlch(77.82, 59.48, 106.76°)
OKLaboklab(80.29% -0.0514 0.1308)
OKLCHoklch(80.29% 0.141 111.4)
XYZxyz(44.1579, 52.9113, 15.6697)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C751 #5651C7
analogous
#C79151 #C2C751 #87C751
triadic
#C2C751 #51C2C7 #C751C2
tetradic
#C2C751 #51C791 #5651C7 #C75187
square
#C2C751 #51C791 #5651C7 #C75187
split-complementary
#C2C751 #5187C7 #9151C7
monochromatic
#747726 #A1A635 #C2C751 #D2D67F #E2E5AE

Accessibility & contrast

On white

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

On black

11.58
#C2C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C751
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C751#FFFFFF#000000##000000
##C2C7511.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2c751;
/* rgb */ color: rgb(194, 199, 81);
/* oklch */ color: oklch(80.3% 0.141 111.4);
Tailwind
colors: {
  custom: {
    50: '#d7d786',
    500: '#c2c751',
    950: '#000000',
  },
}
SCSS
$custom: #c2c751;
$custom-light: #d7d786;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c751",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 62.542,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80289,
    "c": 0.14053,
    "h": 111.4
  },
  "luminance": 0.5291
}

Semantic roles & 50–950 ramp

primary
#C2C751
secondary
#3F3C80
accent
#4DDB53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C751

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

Preview Lab → · Contrast checker → · Palette generator →

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