#CEC053#CEC053

#CEC053 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.130 H 102.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CEC053
RGBrgb(206, 192, 83)
HSLhsl(53, 56%, 57%)
HSVhsv(53, 60%, 81%)
CMYKcmyk(0%, 6.8%, 59.7%, 19.2%)
CIE-LABlab(76.95, -8.46, 55.39)
CIE-LCHlch(76.95, 56.03, 98.68°)
OKLaboklab(79.84% -0.0272 0.1275)
OKLCHoklch(79.84% 0.13 102)
XYZxyz(45.8662, 51.4474, 15.6963)
Luminance0.5145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC053 #5361CE
analogous
#CE8353 #CEC053 #9FCE53
triadic
#CEC053 #53CEC0 #C053CE
tetradic
#CEC053 #53CE83 #5361CE #CE539F
square
#CEC053 #53CE83 #5361CE #CE539F
split-complementary
#CEC053 #539FCE #8353CE
monochromatic
#827725 #B1A333 #CEC053 #DCD183 #E9E3B2

Accessibility & contrast

On white

1.86
#CEC053 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CEC053 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC053
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC053#FFFFFF#000000##000000
##CEC0531.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA47
Deuteranopia (green-blind)
#D4C159
Tritanopia (blue-blind)
#DCB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec053;
/* rgb */ color: rgb(206, 192, 83);
/* oklch */ color: oklch(79.8% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#e0d287',
    500: '#cec053',
    950: '#000000',
  },
}
SCSS
$custom: #cec053;
$custom-light: #e0d287;
$custom-dark: #000000;
JSON
{
  "hex": "#cec053",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 83
  },
  "hsl": {
    "h": 53.171,
    "s": 55.656,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79838,
    "c": 0.13033,
    "h": 102
  },
  "luminance": 0.51446
}

Semantic roles & 50–950 ramp

primary
#CEC053
secondary
#3C4589
accent
#5ADF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC053

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

Preview Lab → · Contrast checker → · Palette generator →

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