#CEC953#CEC953

#CEC953 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.139 H 106.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CEC953
RGBrgb(206, 201, 83)
HSLhsl(58, 56%, 57%)
HSVhsv(58, 60%, 81%)
CMYKcmyk(0%, 2.4%, 59.7%, 19.2%)
CIE-LABlab(79.34, -13.05, 58.02)
CIE-LCHlch(79.34, 59.47, 102.67°)
OKLaboklab(81.74% -0.0402 0.1331)
OKLCHoklch(81.74% 0.139 106.8)
XYZxyz(47.9031, 55.5211, 16.3752)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC953 #5358CE
analogous
#CE8C53 #CEC953 #96CE53
triadic
#CEC953 #53CEC9 #C953CE
tetradic
#CEC953 #53CE8C #5358CE #CE5396
square
#CEC953 #53CE8C #5358CE #CE5396
split-complementary
#CEC953 #5396CE #8C53CE
monochromatic
#827E25 #B1AC33 #CEC953 #DCD883 #E9E7B2

Accessibility & contrast

On white

1.73
#CEC953 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CEC953 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC953
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC953#FFFFFF#000000##000000
##CEC9531.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C246
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#DCBDB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec953;
/* rgb */ color: rgb(206, 201, 83);
/* oklch */ color: oklch(81.7% 0.139 106.8);
Tailwind
colors: {
  custom: {
    50: '#e0d988',
    500: '#cec953',
    950: '#000000',
  },
}
SCSS
$custom: #cec953;
$custom-light: #e0d988;
$custom-dark: #000000;
JSON
{
  "hex": "#cec953",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 83
  },
  "hsl": {
    "h": 57.561,
    "s": 55.656,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8174,
    "c": 0.13902,
    "h": 106.8
  },
  "luminance": 0.5552
}

Semantic roles & 50–950 ramp

primary
#CEC953
secondary
#3C3F89
accent
#4FDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC953

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

Preview Lab → · Contrast checker → · Palette generator →

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