#C2D045#C2D045

#C2D045 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.2% C 0.160 H 114.9°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#C2D045
RGBrgb(194, 208, 69)
HSLhsl(66, 60%, 54%)
HSVhsv(66, 67%, 82%)
CMYKcmyk(6.7%, 0%, 66.8%, 18.4%)
CIE-LABlab(80.19, -22.38, 64.38)
CIE-LCHlch(80.19, 68.15, 109.17°)
OKLaboklab(82.15% -0.0672 0.1448)
OKLCHoklch(82.15% 0.16 114.9)
XYZxyz(45.8794, 57.0115, 14.2165)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D045 #5345D0
analogous
#D09945 #C2D045 #7DD045
triadic
#C2D045 #45C2D0 #D045C2
tetradic
#C2D045 #45D099 #5345D0 #D0457D
square
#C2D045 #45D099 #5345D0 #D0457D
split-complementary
#C2D045 #457DD0 #9945D0
monochromatic
#727B1F #9FAC2C #C2D045 #D2DC76 #E2E9A7

Accessibility & contrast

On white

1.69
#C2D045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#C2D045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D045
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D045#FFFFFF#000000##000000
##C2D0451.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC631
Deuteranopia (green-blind)
#DEC84F
Tritanopia (blue-blind)
#CEC4B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d045;
/* rgb */ color: rgb(194, 208, 69);
/* oklch */ color: oklch(82.2% 0.160 114.9);
Tailwind
colors: {
  custom: {
    50: '#d8de80',
    500: '#c2d045',
    950: '#000000',
  },
}
SCSS
$custom: #c2d045;
$custom-light: #d8de80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d045",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 66.043,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8215,
    "c": 0.15962,
    "h": 114.9
  },
  "luminance": 0.57011
}

Semantic roles & 50–950 ramp

primary
#C2D045
secondary
#3E3683
accent
#45E355
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D045

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

Preview Lab → · Contrast checker → · Palette generator →

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