#C2D845#C2D845

#C2D845 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 83.9% C 0.169 H 117.6°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#C2D845
RGBrgb(194, 216, 69)
HSLhsl(69, 65%, 56%)
HSVhsv(69, 68%, 85%)
CMYKcmyk(10.2%, 0%, 68.1%, 15.3%)
CIE-LABlab(82.38, -26.23, 66.60)
CIE-LCHlch(82.38, 71.58, 111.50°)
OKLaboklab(83.92% -0.078 0.1495)
OKLCHoklch(83.92% 0.169 117.6)
XYZxyz(47.8792, 61.0112, 14.8831)
Luminance0.6101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D845 #5B45D8
analogous
#D8A545 #C2D845 #78D845
triadic
#C2D845 #45C2D8 #D845C2
tetradic
#C2D845 #45D8A5 #5B45D8 #D84578
square
#C2D845 #45D8A5 #5B45D8 #D84578
split-complementary
#C2D845 #4578D8 #A545D8
monochromatic
#77861C #A3B927 #C2D845 #D3E378 #E3EDAA

Accessibility & contrast

On white

1.59
#C2D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#C2D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D845
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D845#FFFFFF#000000##000000
##C2D8451.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD2E
Deuteranopia (green-blind)
#E4CE50
Tritanopia (blue-blind)
#CECCBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c2d845;
/* rgb */ color: rgb(194, 216, 69);
/* oklch */ color: oklch(83.9% 0.169 117.6);
Tailwind
colors: {
  custom: {
    50: '#d8e481',
    500: '#c2d845',
    950: '#000000',
  },
}
SCSS
$custom: #c2d845;
$custom-light: #d8e481;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d845",
  "rgb": {
    "r": 194,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 68.98,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83915,
    "c": 0.16858,
    "h": 117.6
  },
  "luminance": 0.61011
}

Semantic roles & 50–950 ramp

primary
#C2D845
secondary
#42348D
accent
#40E859
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D845

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

Preview Lab → · Contrast checker → · Palette generator →

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