#C2C048#C2C048

#C2C048 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.140 H 108.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C2C048
RGBrgb(194, 192, 72)
HSLhsl(59, 50%, 52%)
HSVhsv(59, 63%, 76%)
CMYKcmyk(0%, 1%, 62.9%, 23.9%)
CIE-LABlab(75.85, -14.24, 58.67)
CIE-LCHlch(75.85, 60.37, 103.64°)
OKLaboklab(78.69% -0.0441 0.1332)
OKLCHoklch(78.69% 0.14 108.3)
XYZxyz(42.2688, 49.6377, 13.4841)
Luminance0.4964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C048 #484AC2
analogous
#C28348 #C2C048 #87C248
triadic
#C2C048 #48C2C0 #C048C2
tetradic
#C2C048 #48C283 #484AC2 #C24887
square
#C2C048 #48C283 #484AC2 #C24887
split-complementary
#C2C048 #4887C2 #8348C2
monochromatic
#6C6B24 #9A9833 #C2C048 #D1D076 #E1E0A4

Accessibility & contrast

On white

1.92
#C2C048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#C2C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C048
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C048#FFFFFF#000000##000000
##C2C0481.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB939
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#CFB4A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c2c048;
/* rgb */ color: rgb(194, 192, 72);
/* oklch */ color: oklch(78.7% 0.140 108.3);
Tailwind
colors: {
  custom: {
    50: '#d7d281',
    500: '#c2c048',
    950: '#000000',
  },
}
SCSS
$custom: #c2c048;
$custom-light: #d7d281;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c048",
  "rgb": {
    "r": 194,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 59.016,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78687,
    "c": 0.14029,
    "h": 108.3
  },
  "luminance": 0.49636
}

Semantic roles & 50–950 ramp

primary
#C2C048
secondary
#9899CE
accent
#51DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C2C048

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

Preview Lab → · Contrast checker → · Palette generator →

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