#C3CA52#C3CA52

#C3CA52 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.0% C 0.143 H 112.3°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#C3CA52
RGBrgb(195, 202, 82)
HSLhsl(64, 53%, 56%)
HSVhsv(64, 59%, 79%)
CMYKcmyk(3.5%, 0%, 59.4%, 20.8%)
CIE-LABlab(78.73, -18.17, 57.53)
CIE-LCHlch(78.73, 60.33, 107.53°)
OKLaboklab(81.03% -0.0542 0.1321)
OKLCHoklch(81.03% 0.143 112.3)
XYZxyz(45.1503, 54.4533, 16.1131)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CA52 #5952CA
analogous
#CA9552 #C3CA52 #87CA52
triadic
#C3CA52 #52C3CA #CA52C3
tetradic
#C3CA52 #52CA95 #5952CA #CA5287
square
#C3CA52 #52CA95 #5952CA #CA5287
split-complementary
#C3CA52 #5287CA #9552CA
monochromatic
#777C26 #A4AB34 #C3CA52 #D3D881 #E3E7B0

Accessibility & contrast

On white

1.77
#C3CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#C3CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3CA52
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3CA52#FFFFFF#000000##000000
##C3CA521.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#CFBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c3ca52;
/* rgb */ color: rgb(195, 202, 82);
/* oklch */ color: oklch(81.0% 0.143 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8da87',
    500: '#c3ca52',
    950: '#000000',
  },
}
SCSS
$custom: #c3ca52;
$custom-light: #d8da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ca52",
  "rgb": {
    "r": 195,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 63.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81032,
    "c": 0.14282,
    "h": 112.3
  },
  "luminance": 0.54452
}

Semantic roles & 50–950 ramp

primary
#C3CA52
secondary
#413C84
accent
#4BDD54
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C3CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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