#CECE52#CECE52

#CECE52 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.145 H 109.2°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CECE52
RGBrgb(206, 206, 82)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 60%, 81%)
CMYKcmyk(0%, 0%, 60.2%, 19.2%)
CIE-LABlab(80.67, -15.62, 59.90)
CIE-LCHlch(80.67, 61.90, 104.62°)
OKLaboklab(82.8% -0.0476 0.1369)
OKLCHoklch(82.8% 0.145 109.2)
XYZxyz(49.0494, 57.8750, 16.5682)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE52 #5252CE
analogous
#CE9052 #CECE52 #90CE52
triadic
#CECE52 #52CECE #CE52CE
tetradic
#CECE52 #52CE90 #5252CE #CE5290
square
#CECE52 #52CE90 #5252CE #CE5290
split-complementary
#CECE52 #5290CE #9052CE
monochromatic
#818125 #B1B132 #CECE52 #DCDC82 #E9E9B1

Accessibility & contrast

On white

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

On black

12.57
#CECE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECE52
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECE52#FFFFFF#000000##000000
##CECE521.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cece52;
/* rgb */ color: rgb(206, 206, 82);
/* oklch */ color: oklch(82.8% 0.145 109.2);
Tailwind
colors: {
  custom: {
    50: '#e0dc88',
    500: '#cece52',
    950: '#000000',
  },
}
SCSS
$custom: #cece52;
$custom-light: #e0dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#cece52",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82796,
    "c": 0.14497,
    "h": 109.2
  },
  "luminance": 0.57874
}

Semantic roles & 50–950 ramp

primary
#CECE52
secondary
#3C3C88
accent
#49DF49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECE52

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

Preview Lab → · Contrast checker → · Palette generator →

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