#CECE5A#CECE5A

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

Color values

HEX#CECE5A
RGBrgb(206, 206, 90)
HSLhsl(60, 54%, 58%)
HSVhsv(60, 56%, 81%)
CMYKcmyk(0%, 0%, 56.3%, 19.2%)
CIE-LABlab(80.74, -15.06, 56.49)
CIE-LCHlch(80.74, 58.46, 104.92°)
OKLaboklab(82.88% -0.0452 0.1307)
OKLCHoklch(82.88% 0.138 109.1)
XYZxyz(49.3717, 58.0039, 18.2660)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECE5A #5A5ACE
analogous
#CE945A #CECE5A #94CE5A
triadic
#CECE5A #5ACECE #CE5ACE
tetradic
#CECE5A #5ACE94 #5A5ACE #CE5A94
square
#CECE5A #5ACE94 #5A5ACE #CE5A94
split-complementary
#CECE5A #5A94CE #945ACE
monochromatic
#868628 #B5B536 #CECE5A #DCDC89 #EAEAB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECE5A#FFFFFF#000000##000000
##CECE5A1.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)
#DDC64E
Deuteranopia (green-blind)
#DFCA61
Tritanopia (blue-blind)
#DBC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cece5a;
/* rgb */ color: rgb(206, 206, 90);
/* oklch */ color: oklch(82.9% 0.138 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc8d',
    500: '#cece5a',
    950: '#000000',
  },
}
SCSS
$custom: #cece5a;
$custom-light: #dfdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cece5a",
  "rgb": {
    "r": 206,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82876,
    "c": 0.13828,
    "h": 109.1
  },
  "luminance": 0.58003
}

Semantic roles & 50–950 ramp

primary
#CECE5A
secondary
#3F3F8D
accent
#4ADE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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