#C6CF52#C6CF52

#C6CF52 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.4% C 0.148 H 113.1°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#C6CF52
RGBrgb(198, 207, 82)
HSLhsl(64, 57%, 57%)
HSVhsv(64, 60%, 81%)
CMYKcmyk(4.3%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.32, -19.41, 59.33)
CIE-LCHlch(80.32, 62.43, 108.12°)
OKLaboklab(82.36% -0.0579 0.1359)
OKLCHoklch(82.36% 0.148 113.1)
XYZxyz(47.1257, 57.2415, 16.5472)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CF52 #5B52CF
analogous
#CF9A52 #C6CF52 #88CF52
triadic
#C6CF52 #52C6CF #CF52C6
tetradic
#C6CF52 #52CF9A #5B52CF #CF5288
square
#C6CF52 #52CF9A #5B52CF #CF5288
split-complementary
#C6CF52 #5288CF #9A52CF
monochromatic
#7C8224 #A9B231 #C6CF52 #D6DC82 #E6EAB2

Accessibility & contrast

On white

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

On black

12.45
#C6CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CF52
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CF52#FFFFFF#000000##000000
##C6CF521.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DDC95A
Tritanopia (blue-blind)
#D2C4B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c6cf52;
/* rgb */ color: rgb(198, 207, 82);
/* oklch */ color: oklch(82.4% 0.148 113.1);
Tailwind
colors: {
  custom: {
    50: '#dadd88',
    500: '#c6cf52',
    950: '#000000',
  },
}
SCSS
$custom: #c6cf52;
$custom-light: #dadd88;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cf52",
  "rgb": {
    "r": 198,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 64.32,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8236,
    "c": 0.1477,
    "h": 113.1
  },
  "luminance": 0.57241
}

Semantic roles & 50–950 ramp

primary
#C6CF52
secondary
#413C8A
accent
#48E053
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C6CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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