#C3D540#C3D540

#C3D540 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.3% C 0.168 H 116.2°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#C3D540
RGBrgb(195, 213, 64)
HSLhsl(67, 64%, 54%)
HSVhsv(67, 70%, 84%)
CMYKcmyk(8.5%, 0%, 70%, 16.5%)
CIE-LABlab(81.60, -24.66, 67.67)
CIE-LCHlch(81.60, 72.03, 110.03°)
OKLaboklab(83.29% -0.0741 0.1509)
OKLCHoklch(83.29% 0.168 116.2)
XYZxyz(47.2265, 59.5614, 13.8581)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3D540 #5240D5
analogous
#D59C40 #C3D540 #79D540
triadic
#C3D540 #40C3D5 #D540C3
tetradic
#C3D540 #40D59C #5240D5 #D54079
square
#C3D540 #40D59C #5240D5 #D54079
split-complementary
#C3D540 #4079D5 #9C40D5
monochromatic
#737F1C #A0B127 #C3D540 #D3E072 #E3EBA4

Accessibility & contrast

On white

1.63
#C3D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#C3D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3D540
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3D540#FFFFFF#000000##000000
##C3D5401.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA26
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#CFC9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c3d540;
/* rgb */ color: rgb(195, 213, 64);
/* oklch */ color: oklch(83.3% 0.168 116.2);
Tailwind
colors: {
  custom: {
    50: '#d9e17e',
    500: '#c3d540',
    950: '#000000',
  },
}
SCSS
$custom: #c3d540;
$custom-light: #d9e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3d540",
  "rgb": {
    "r": 195,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 67.248,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83291,
    "c": 0.16812,
    "h": 116.2
  },
  "luminance": 0.59561
}

Semantic roles & 50–950 ramp

primary
#C3D540
secondary
#3D3386
accent
#41E755
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C3D540

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

Preview Lab → · Contrast checker → · Palette generator →

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