#C2CA40#C2CA40

#C2CA40 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.8% C 0.156 H 112.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C2CA40
RGBrgb(194, 202, 64)
HSLhsl(63, 57%, 52%)
HSVhsv(63, 68%, 79%)
CMYKcmyk(4%, 0%, 68.3%, 20.8%)
CIE-LABlab(78.51, -19.71, 64.58)
CIE-LCHlch(78.51, 67.52, 106.98°)
OKLaboklab(80.8% -0.0603 0.1444)
OKLCHoklch(80.8% 0.156 112.7)
XYZxyz(44.2954, 54.0815, 12.9549)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA40 #4840CA
analogous
#CA8D40 #C2CA40 #7DCA40
triadic
#C2CA40 #40C2CA #CA40C2
tetradic
#C2CA40 #40CA8D #4840CA #CA407D
square
#C2CA40 #40CA8D #4840CA #CA407D
split-complementary
#C2CA40 #407DCA #8D40CA
monochromatic
#6C701F #9AA02C #C2CA40 #D1D770 #E1E5A0

Accessibility & contrast

On white

1.78
#C2CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#C2CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA40
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA40#FFFFFF#000000##000000
##C2CA401.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#CFBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c2ca40;
/* rgb */ color: rgb(194, 202, 64);
/* oklch */ color: oklch(80.8% 0.156 112.7);
Tailwind
colors: {
  custom: {
    50: '#d8d97d',
    500: '#c2ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca40;
$custom-light: #d8d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca40",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 63.478,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80796,
    "c": 0.15648,
    "h": 112.7
  },
  "luminance": 0.54081
}

Semantic roles & 50–950 ramp

primary
#C2CA40
secondary
#39357A
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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