#CFCE52#CFCE52

#CFCE52 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.145 H 108.7°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CFCE52
RGBrgb(207, 206, 82)
HSLhsl(60, 57%, 57%)
HSVhsv(60, 60%, 81%)
CMYKcmyk(0%, 0.5%, 60.4%, 18.8%)
CIE-LABlab(80.75, -15.21, 60.01)
CIE-LCHlch(80.75, 61.90, 104.22°)
OKLaboklab(82.88% -0.0465 0.1371)
OKLCHoklch(82.88% 0.145 108.7)
XYZxyz(49.3279, 58.0186, 16.5813)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE52 #5253CF
analogous
#CF9052 #CFCE52 #92CF52
triadic
#CFCE52 #52CFCE #CE52CF
tetradic
#CFCE52 #52CF90 #5253CF #CF5292
square
#CFCE52 #52CF90 #5253CF #CF5292
split-complementary
#CFCE52 #5292CF #9052CF
monochromatic
#828224 #B2B131 #CFCE52 #DCDC82 #EAE9B2

Accessibility & contrast

On white

1.67
#CFCE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#CFCE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE52
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE52#FFFFFF#000000##000000
##CFCE521.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce52;
/* rgb */ color: rgb(207, 206, 82);
/* oklch */ color: oklch(82.9% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#e0dc88',
    500: '#cfce52',
    950: '#000000',
  },
}
SCSS
$custom: #cfce52;
$custom-light: #e0dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce52",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 59.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82879,
    "c": 0.1448,
    "h": 108.7
  },
  "luminance": 0.58017
}

Semantic roles & 50–950 ramp

primary
#CFCE52
secondary
#3C3C8A
accent
#49E048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE52

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

Preview Lab → · Contrast checker → · Palette generator →

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