#C2C748#C2C748

#C2C748 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.148 H 111.5°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#C2C748
RGBrgb(194, 199, 72)
HSLhsl(62, 53%, 53%)
HSVhsv(62, 64%, 78%)
CMYKcmyk(2.5%, 0%, 63.8%, 22%)
CIE-LABlab(77.75, -17.76, 60.67)
CIE-LCHlch(77.75, 63.21, 106.32°)
OKLaboklab(80.21% -0.054 0.1374)
OKLCHoklch(80.21% 0.148 111.5)
XYZxyz(43.8425, 52.7851, 14.0087)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C748 #4D48C7
analogous
#C78C48 #C2C748 #82C748
triadic
#C2C748 #48C2C7 #C748C2
tetradic
#C2C748 #48C78C #4D48C7 #C74882
square
#C2C748 #48C78C #4D48C7 #C74882
split-complementary
#C2C748 #4882C7 #8C48C7
monochromatic
#6F7223 #9CA131 #C2C748 #D2D577 #E1E4A6

Accessibility & contrast

On white

1.82
#C2C748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#C2C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C748
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C748#FFFFFF#000000##000000
##C2C7481.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE37
Deuteranopia (green-blind)
#D6C250
Tritanopia (blue-blind)
#CFBBAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c748;
/* rgb */ color: rgb(194, 199, 72);
/* oklch */ color: oklch(80.2% 0.148 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d781',
    500: '#c2c748',
    950: '#000000',
  },
}
SCSS
$custom: #c2c748;
$custom-light: #d7d781;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c748",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 62.362,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80205,
    "c": 0.14764,
    "h": 111.5
  },
  "luminance": 0.52784
}

Semantic roles & 50–950 ramp

primary
#C2C748
secondary
#3B387B
accent
#4BDD51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C748

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

Preview Lab → · Contrast checker → · Palette generator →

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