#CEC253#CEC253

#CEC253 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.132 H 103.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CEC253
RGBrgb(206, 194, 83)
HSLhsl(54, 56%, 57%)
HSVhsv(54, 60%, 81%)
CMYKcmyk(0%, 5.8%, 59.7%, 19.2%)
CIE-LABlab(77.48, -9.49, 55.98)
CIE-LCHlch(77.48, 56.77, 99.62°)
OKLaboklab(80.26% -0.0301 0.1287)
OKLCHoklch(80.26% 0.132 103.2)
XYZxyz(46.3084, 52.3316, 15.8436)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC253 #535FCE
analogous
#CE8553 #CEC253 #9DCE53
triadic
#CEC253 #53CEC2 #C253CE
tetradic
#CEC253 #53CE85 #535FCE #CE539D
square
#CEC253 #53CE85 #535FCE #CE539D
split-complementary
#CEC253 #539DCE #8553CE
monochromatic
#827925 #B1A533 #CEC253 #DCD383 #E9E4B2

Accessibility & contrast

On white

1.83
#CEC253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CEC253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC253
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC253#FFFFFF#000000##000000
##CEC2531.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC47
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#DCB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec253;
/* rgb */ color: rgb(206, 194, 83);
/* oklch */ color: oklch(80.3% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#e0d488',
    500: '#cec253',
    950: '#000000',
  },
}
SCSS
$custom: #cec253;
$custom-light: #e0d488;
$custom-dark: #000000;
JSON
{
  "hex": "#cec253",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 54.146,
    "s": 55.656,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80259,
    "c": 0.13218,
    "h": 103.2
  },
  "luminance": 0.5233
}

Semantic roles & 50–950 ramp

primary
#CEC253
secondary
#3C4489
accent
#57DF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC253

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

Preview Lab → · Contrast checker → · Palette generator →

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