#C2C548#C2C548

#C2C548 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.146 H 110.6°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#C2C548
RGBrgb(194, 197, 72)
HSLhsl(61, 52%, 53%)
HSVhsv(61, 63%, 77%)
CMYKcmyk(1.5%, 0%, 63.5%, 22.7%)
CIE-LABlab(77.20, -16.76, 60.10)
CIE-LCHlch(77.20, 62.39, 105.58°)
OKLaboklab(79.77% -0.0512 0.1362)
OKLCHoklch(79.77% 0.146 110.6)
XYZxyz(43.3854, 51.8708, 13.8563)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C548 #4B48C5
analogous
#C58948 #C2C548 #83C548
triadic
#C2C548 #48C2C5 #C548C2
tetradic
#C2C548 #48C589 #4B48C5 #C54883
square
#C2C548 #48C589 #4B48C5 #C54883
split-complementary
#C2C548 #4883C5 #8948C5
monochromatic
#6D6F23 #9B9E32 #C2C548 #D1D476 #E1E2A5

Accessibility & contrast

On white

1.85
#C2C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#C2C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C548
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C548#FFFFFF#000000##000000
##C2C5481.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D5C050
Tritanopia (blue-blind)
#CFB9AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c2c548;
/* rgb */ color: rgb(194, 197, 72);
/* oklch */ color: oklch(79.8% 0.146 110.6);
Tailwind
colors: {
  custom: {
    50: '#d7d681',
    500: '#c2c548',
    950: '#000000',
  },
}
SCSS
$custom: #c2c548;
$custom-light: #d7d681;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c548",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 61.44,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7977,
    "c": 0.14551,
    "h": 110.6
  },
  "luminance": 0.5187
}

Semantic roles & 50–950 ramp

primary
#C2C548
secondary
#3A3879
accent
#4CDB50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C548

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

Preview Lab → · Contrast checker → · Palette generator →

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