#C2D945#C2D945

#C2D945 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.1% C 0.170 H 117.9°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#C2D945
RGBrgb(194, 217, 69)
HSLhsl(69, 66%, 56%)
HSVhsv(69, 68%, 85%)
CMYKcmyk(10.6%, 0%, 68.2%, 14.9%)
CIE-LABlab(82.66, -26.71, 66.88)
CIE-LCHlch(82.66, 72.02, 111.77°)
OKLaboklab(84.14% -0.0793 0.15)
OKLCHoklch(84.14% 0.17 117.9)
XYZxyz(48.1362, 61.5252, 14.9688)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D945 #5C45D9
analogous
#D9A645 #C2D945 #78D945
triadic
#C2D945 #45C2D9 #D945C2
tetradic
#C2D945 #45D9A6 #5C45D9 #D94578
square
#C2D945 #45D9A6 #5C45D9 #D94578
split-complementary
#C2D945 #4578D9 #A645D9
monochromatic
#77881C #A4BB26 #C2D945 #D3E378 #E3EEAB

Accessibility & contrast

On white

1.58
#C2D945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#C2D945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D945
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D945#FFFFFF#000000##000000
##C2D9451.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD2E
Deuteranopia (green-blind)
#E5CE50
Tritanopia (blue-blind)
#CDCDBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c2d945;
/* rgb */ color: rgb(194, 217, 69);
/* oklch */ color: oklch(84.1% 0.170 117.9);
Tailwind
colors: {
  custom: {
    50: '#d8e481',
    500: '#c2d945',
    950: '#000000',
  },
}
SCSS
$custom: #c2d945;
$custom-light: #d8e481;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d945",
  "rgb": {
    "r": 194,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 69.324,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84136,
    "c": 0.16972,
    "h": 117.9
  },
  "luminance": 0.61525
}

Semantic roles & 50–950 ramp

primary
#C2D945
secondary
#42348E
accent
#3FE959
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D945

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

Preview Lab → · Contrast checker → · Palette generator →

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