#C6CE40#C6CE40

#C6CE40 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 82.0% C 0.160 H 112.6°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#C6CE40
RGBrgb(198, 206, 64)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 69%, 81%)
CMYKcmyk(3.9%, 0%, 68.9%, 19.2%)
CIE-LABlab(79.91, -20.02, 66.07)
CIE-LCHlch(79.91, 69.04, 106.86°)
OKLaboklab(81.99% -0.0614 0.1474)
OKLCHoklch(81.99% 0.16 112.6)
XYZxyz(46.2868, 56.5196, 13.3206)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CE40 #4840CE
analogous
#CE8F40 #C6CE40 #7FCE40
triadic
#C6CE40 #40C6CE #CE40C6
tetradic
#C6CE40 #40CE8F #4840CE #CE407F
square
#C6CE40 #40CE8F #4840CE #CE407F
split-complementary
#C6CE40 #407FCE #8F40CE
monochromatic
#71751E #9FA62B #C6CE40 #D5DA71 #E3E7A1

Accessibility & contrast

On white

1.71
#C6CE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#C6CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CE40
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CE40#FFFFFF#000000##000000
##C6CE401.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#DEC84B
Tritanopia (blue-blind)
#D3C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c6ce40;
/* rgb */ color: rgb(198, 206, 64);
/* oklch */ color: oklch(82.0% 0.160 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdc7d',
    500: '#c6ce40',
    950: '#000000',
  },
}
SCSS
$custom: #c6ce40;
$custom-light: #dbdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ce40",
  "rgb": {
    "r": 198,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 63.38,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81992,
    "c": 0.1597,
    "h": 112.6
  },
  "luminance": 0.56519
}

Semantic roles & 50–950 ramp

primary
#C6CE40
secondary
#38347E
accent
#45E24E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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