#C6CF40#C6CF40

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

Color values

HEX#C6CF40
RGBrgb(198, 207, 64)
HSLhsl(64, 60%, 53%)
HSVhsv(64, 69%, 81%)
CMYKcmyk(4.3%, 0%, 69.1%, 18.8%)
CIE-LABlab(80.18, -20.51, 66.34)
CIE-LCHlch(80.18, 69.44, 107.18°)
OKLaboklab(82.21% -0.0627 0.148)
OKLCHoklch(82.21% 0.161 113)
XYZxyz(46.5283, 57.0026, 13.4011)
Luminance0.5700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CF40 #4940CF
analogous
#CF9040 #C6CF40 #7ECF40
triadic
#C6CF40 #40C6CF #CF40C6
tetradic
#C6CF40 #40CF90 #4940CF #CF407E
square
#C6CF40 #40CF90 #4940CF #CF407E
split-complementary
#C6CF40 #407ECF #9040CF
monochromatic
#71771E #A0A82A #C6CF40 #D5DB71 #E3E8A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6CF40#FFFFFF#000000##000000
##C6CF401.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)
#DEC529
Deuteranopia (green-blind)
#DEC84B
Tritanopia (blue-blind)
#D3C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c6cf40;
/* rgb */ color: rgb(198, 207, 64);
/* oklch */ color: oklch(82.2% 0.161 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbdd7e',
    500: '#c6cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c6cf40;
$custom-light: #dbdd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cf40",
  "rgb": {
    "r": 198,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 63.776,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8221,
    "c": 0.16076,
    "h": 113
  },
  "luminance": 0.57002
}

Semantic roles & 50–950 ramp

primary
#C6CF40
secondary
#39347F
accent
#45E34F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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