#CECD3B#CECD3B

#CECD3B is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.160 H 109.1°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CECD3B
RGBrgb(206, 205, 59)
HSLhsl(60, 60%, 52%)
HSVhsv(60, 71%, 81%)
CMYKcmyk(0%, 0.5%, 71.4%, 19.2%)
CIE-LABlab(80.24, -16.43, 68.40)
CIE-LCHlch(80.24, 70.34, 103.51°)
OKLaboklab(82.4% -0.0522 0.1512)
OKLCHoklch(82.4% 0.16 109.1)
XYZxyz(48.0761, 57.1017, 12.6261)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD3B #3B3CCE
analogous
#CE843B #CECD3B #86CE3B
triadic
#CECD3B #3BCECD #CD3BCE
tetradic
#CECD3B #3BCE84 #3B3CCE #CE3B86
square
#CECD3B #3BCE84 #3B3CCE #CE3B86
split-complementary
#CECD3B #3B86CE #843BCE
monochromatic
#72711D #A3A229 #CECD3B #DAD96C #E6E69D

Accessibility & contrast

On white

1.69
#CECD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CECD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD3B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD3B#FFFFFF#000000##000000
##CECD3B1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC420
Deuteranopia (green-blind)
#E0C946
Tritanopia (blue-blind)
#DDC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecd3b;
/* rgb */ color: rgb(206, 205, 59);
/* oklch */ color: oklch(82.4% 0.160 109.1);
Tailwind
colors: {
  custom: {
    50: '#e1dc7b',
    500: '#cecd3b',
    950: '#000000',
  },
}
SCSS
$custom: #cecd3b;
$custom-light: #e1dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd3b",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 59.592,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82398,
    "c": 0.16001,
    "h": 109.1
  },
  "luminance": 0.571
}

Semantic roles & 50–950 ramp

primary
#CECD3B
secondary
#32337B
accent
#46E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CECD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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