#C2D240#C2D240

#C2D240 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.6% C 0.165 H 115.5°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#C2D240
RGBrgb(194, 210, 64)
HSLhsl(67, 62%, 54%)
HSVhsv(67, 70%, 82%)
CMYKcmyk(7.6%, 0%, 69.5%, 17.6%)
CIE-LABlab(80.70, -23.63, 66.76)
CIE-LCHlch(80.70, 70.82, 109.49°)
OKLaboklab(82.55% -0.0712 0.149)
OKLCHoklch(82.55% 0.165 115.5)
XYZxyz(46.2213, 57.9334, 13.5969)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D240 #5040D2
analogous
#D29940 #C2D240 #79D240
triadic
#C2D240 #40C2D2 #D240C2
tetradic
#C2D240 #40D299 #5040D2 #D24079
square
#C2D240 #40D299 #5040D2 #D24079
split-complementary
#C2D240 #4079D2 #9940D2
monochromatic
#707B1D #9EAC29 #C2D240 #D2DE72 #E2E9A3

Accessibility & contrast

On white

1.67
#C2D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#C2D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D240
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D240#FFFFFF#000000##000000
##C2D2401.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C728
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#CEC6B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d240;
/* rgb */ color: rgb(194, 210, 64);
/* oklch */ color: oklch(82.6% 0.165 115.5);
Tailwind
colors: {
  custom: {
    50: '#d8df7e',
    500: '#c2d240',
    950: '#000000',
  },
}
SCSS
$custom: #c2d240;
$custom-light: #d8df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d240",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 66.575,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82553,
    "c": 0.16514,
    "h": 115.5
  },
  "luminance": 0.57933
}

Semantic roles & 50–950 ramp

primary
#C2D240
secondary
#3C3483
accent
#43E555
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D240

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

Preview Lab → · Contrast checker → · Palette generator →

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