#C3D240#C3D240

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

Color values

HEX#C3D240
RGBrgb(195, 210, 64)
HSLhsl(66, 62%, 54%)
HSVhsv(66, 70%, 82%)
CMYKcmyk(7.1%, 0%, 69.5%, 17.6%)
CIE-LABlab(80.78, -23.22, 66.86)
CIE-LCHlch(80.78, 70.77, 109.15°)
OKLaboklab(82.63% -0.0701 0.1492)
OKLCHoklch(82.63% 0.165 115.2)
XYZxyz(46.4789, 58.0662, 13.6089)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3D240 #4F40D2
analogous
#D29840 #C3D240 #7AD240
triadic
#C3D240 #40C3D2 #D240C3
tetradic
#C3D240 #40D298 #4F40D2 #D2407A
square
#C3D240 #40D298 #4F40D2 #D2407A
split-complementary
#C3D240 #407AD2 #9840D2
monochromatic
#717B1D #9FAC29 #C3D240 #D3DE72 #E2E9A3

Accessibility & contrast

On white

1.66
#C3D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#C3D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3D240
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3D240#FFFFFF#000000##000000
##C3D2401.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3d240;
/* rgb */ color: rgb(195, 210, 64);
/* oklch */ color: oklch(82.6% 0.165 115.2);
Tailwind
colors: {
  custom: {
    50: '#d9df7e',
    500: '#c3d240',
    950: '#000000',
  },
}
SCSS
$custom: #c3d240;
$custom-light: #d9df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3d240",
  "rgb": {
    "r": 195,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 66.164,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8263,
    "c": 0.16482,
    "h": 115.2
  },
  "luminance": 0.58065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C3D240

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

Preview Lab → · Contrast checker → · Palette generator →

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