#C6CE52#C6CE52

#C6CE52 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.1% C 0.147 H 112.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C6CE52
RGBrgb(198, 206, 82)
HSLhsl(64, 56%, 56%)
HSVhsv(64, 60%, 81%)
CMYKcmyk(3.9%, 0%, 60.2%, 19.2%)
CIE-LABlab(80.04, -18.92, 59.04)
CIE-LCHlch(80.04, 61.99, 107.77°)
OKLaboklab(82.14% -0.0565 0.1353)
OKLCHoklch(82.14% 0.147 112.7)
XYZxyz(46.8842, 56.7585, 16.4667)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CE52 #5A52CE
analogous
#CE9852 #C6CE52 #88CE52
triadic
#C6CE52 #52C6CE #CE52C6
tetradic
#C6CE52 #52CE98 #5A52CE #CE5288
square
#C6CE52 #52CE98 #5A52CE #CE5288
split-complementary
#C6CE52 #5288CE #9852CE
monochromatic
#7B8125 #A9B132 #C6CE52 #D6DC82 #E5E9B1

Accessibility & contrast

On white

1.70
#C6CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#C6CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CE52
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CE52#FFFFFF#000000##000000
##C6CE521.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#D2C3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c6ce52;
/* rgb */ color: rgb(198, 206, 82);
/* oklch */ color: oklch(82.1% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#dadc88',
    500: '#c6ce52',
    950: '#000000',
  },
}
SCSS
$custom: #c6ce52;
$custom-light: #dadc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ce52",
  "rgb": {
    "r": 198,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 63.871,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82143,
    "c": 0.14658,
    "h": 112.7
  },
  "luminance": 0.56758
}

Semantic roles & 50–950 ramp

primary
#C6CE52
secondary
#413C88
accent
#49DF52
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C6CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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