#CECE51#CECE51

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

Color values

HEX#CECE51
RGBrgb(206, 206, 81)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 61%, 81%)
CMYKcmyk(0%, 0%, 60.7%, 19.2%)
CIE-LABlab(80.66, -15.69, 60.31)
CIE-LCHlch(80.66, 62.32, 104.58°)
OKLaboklab(82.79% -0.0479 0.1377)
OKLCHoklch(82.79% 0.146 109.2)
XYZxyz(49.0116, 57.8598, 16.3693)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE51 #5151CE
analogous
#CE9051 #CECE51 #90CE51
triadic
#CECE51 #51CECE #CE51CE
tetradic
#CECE51 #51CE90 #5151CE #CE5190
square
#CECE51 #51CE90 #5151CE #CE5190
split-complementary
#CECE51 #5190CE #9051CE
monochromatic
#808024 #B0B032 #CECE51 #DBDB81 #E9E9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECE51#FFFFFF#000000##000000
##CECE511.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)
#DEC642
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#DCC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cece51;
/* rgb */ color: rgb(206, 206, 81);
/* oklch */ color: oklch(82.8% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#e0dc87',
    500: '#cece51',
    950: '#000000',
  },
}
SCSS
$custom: #cece51;
$custom-light: #e0dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cece51",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82787,
    "c": 0.14576,
    "h": 109.2
  },
  "luminance": 0.57859
}

Semantic roles & 50–950 ramp

primary
#CECE51
secondary
#3B3B88
accent
#48DF48
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECE51

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

Preview Lab → · Contrast checker → · Palette generator →

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