#CECE5F#CECE5F

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

Color values

HEX#CECE5F
RGBrgb(206, 206, 95)
HSLhsl(60, 53%, 59%)
HSVhsv(60, 54%, 81%)
CMYKcmyk(0%, 0%, 53.9%, 19.2%)
CIE-LABlab(80.79, -14.67, 54.29)
CIE-LCHlch(80.79, 56.24, 105.12°)
OKLaboklab(82.93% -0.0436 0.1265)
OKLCHoklch(82.93% 0.134 109)
XYZxyz(49.5918, 58.0919, 19.4247)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE5F #5F5FCE
analogous
#CE975F #CECE5F #97CE5F
triadic
#CECE5F #5FCECE #CE5FCE
tetradic
#CECE5F #5FCE97 #5F5FCE #CE5F97
square
#CECE5F #5FCE97 #5F5FCE #CE5F97
split-complementary
#CECE5F #5F97CE #975FCE
monochromatic
#89892A #B8B838 #CECE5F #DCDC8E #EBEBBD

Accessibility & contrast

On white

1.66
#CECE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CECE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECE5F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECE5F#FFFFFF#000000##000000
##CECE5F1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC654
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#DBC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cece5f;
/* rgb */ color: rgb(206, 206, 95);
/* oklch */ color: oklch(82.9% 0.134 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfdc90',
    500: '#cece5f',
    950: '#000000',
  },
}
SCSS
$custom: #cece5f;
$custom-light: #dfdc90;
$custom-dark: #000000;
JSON
{
  "hex": "#cece5f",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82931,
    "c": 0.13383,
    "h": 109
  },
  "luminance": 0.58091
}

Semantic roles & 50–950 ramp

primary
#CECE5F
secondary
#42428F
accent
#4BDD4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CECE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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