#CECE5C#CECE5C

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

Color values

HEX#CECE5C
RGBrgb(206, 206, 92)
HSLhsl(60, 54%, 58%)
HSVhsv(60, 55%, 81%)
CMYKcmyk(0%, 0%, 55.3%, 19.2%)
CIE-LABlab(80.76, -14.91, 55.62)
CIE-LCHlch(80.76, 57.58, 105.00°)
OKLaboklab(82.9% -0.0445 0.1291)
OKLCHoklch(82.9% 0.137 109)
XYZxyz(49.4580, 58.0384, 18.7204)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE5C #5C5CCE
analogous
#CE955C #CECE5C #95CE5C
triadic
#CECE5C #5CCECE #CE5CCE
tetradic
#CECE5C #5CCE95 #5C5CCE #CE5C95
square
#CECE5C #5CCE95 #5C5CCE #CE5C95
split-complementary
#CECE5C #5C95CE #955CCE
monochromatic
#878729 #B6B637 #CECE5C #DCDC8B #EAEABA

Accessibility & contrast

On white

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

On black

12.61
#CECE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECE5C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECE5C#FFFFFF#000000##000000
##CECE5C1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC650
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#DBC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cece5c;
/* rgb */ color: rgb(206, 206, 92);
/* oklch */ color: oklch(82.9% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfdc8e',
    500: '#cece5c',
    950: '#000000',
  },
}
SCSS
$custom: #cece5c;
$custom-light: #dfdc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cece5c",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82898,
    "c": 0.13652,
    "h": 109
  },
  "luminance": 0.58037
}

Semantic roles & 50–950 ramp

primary
#CECE5C
secondary
#40408E
accent
#4BDD4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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