#CFC652#CFC652

#CFC652 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.137 H 104.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CFC652
RGBrgb(207, 198, 82)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 60%, 81%)
CMYKcmyk(0%, 4.3%, 60.4%, 18.8%)
CIE-LABlab(78.62, -11.18, 57.69)
CIE-LCHlch(78.62, 58.76, 100.97°)
OKLaboklab(81.18% -0.0351 0.1322)
OKLCHoklch(81.18% 0.137 104.9)
XYZxyz(47.4508, 54.2644, 15.9556)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC652 #525BCF
analogous
#CF8852 #CFC652 #9ACF52
triadic
#CFC652 #52CFC6 #C652CF
tetradic
#CFC652 #52CF88 #525BCF #CF529A
square
#CFC652 #52CF88 #525BCF #CF529A
split-complementary
#CFC652 #529ACF #8852CF
monochromatic
#827C24 #B2A931 #CFC652 #DCD682 #EAE6B2

Accessibility & contrast

On white

1.77
#CFC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CFC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC652
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC652#FFFFFF#000000##000000
##CFC6521.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc652;
/* rgb */ color: rgb(207, 198, 82);
/* oklch */ color: oklch(81.2% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#e0d787',
    500: '#cfc652',
    950: '#000000',
  },
}
SCSS
$custom: #cfc652;
$custom-light: #e0d787;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc652",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 55.68,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8118,
    "c": 0.13678,
    "h": 104.9
  },
  "luminance": 0.54263
}

Semantic roles & 50–950 ramp

primary
#CFC652
secondary
#3C418A
accent
#53E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC652

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

Preview Lab → · Contrast checker → · Palette generator →

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