#CECE5B#CECE5B

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

Color values

HEX#CECE5B
RGBrgb(206, 206, 91)
HSLhsl(60, 54%, 58%)
HSVhsv(60, 56%, 81%)
CMYKcmyk(0%, 0%, 55.8%, 19.2%)
CIE-LABlab(80.75, -14.98, 56.05)
CIE-LCHlch(80.75, 58.02, 104.96°)
OKLaboklab(82.89% -0.0449 0.1299)
OKLCHoklch(82.89% 0.137 109.1)
XYZxyz(49.4146, 58.0210, 18.4917)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE5B #5B5BCE
analogous
#CE945B #CECE5B #94CE5B
triadic
#CECE5B #5BCECE #CE5BCE
tetradic
#CECE5B #5BCE94 #5B5BCE #CE5B94
square
#CECE5B #5BCE94 #5B5BCE #CE5B94
split-complementary
#CECE5B #5B94CE #945BCE
monochromatic
#868628 #B6B636 #CECE5B #DCDC8A #EAEAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECE5B#FFFFFF#000000##000000
##CECE5B1.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)
#DDC64F
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#DBC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cece5b;
/* rgb */ color: rgb(206, 206, 91);
/* oklch */ color: oklch(82.9% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc8d',
    500: '#cece5b',
    950: '#000000',
  },
}
SCSS
$custom: #cece5b;
$custom-light: #dfdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cece5b",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82887,
    "c": 0.1374,
    "h": 109.1
  },
  "luminance": 0.5802
}

Semantic roles & 50–950 ramp

primary
#CECE5B
secondary
#40408D
accent
#4ADD4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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