#CEC755#CEC755

#CEC755 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.135 H 105.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CEC755
RGBrgb(206, 199, 85)
HSLhsl(57, 55%, 57%)
HSVhsv(57, 59%, 81%)
CMYKcmyk(0%, 3.4%, 58.7%, 19.2%)
CIE-LABlab(78.83, -11.89, 56.58)
CIE-LCHlch(78.83, 57.81, 101.87°)
OKLaboklab(81.34% -0.0367 0.1303)
OKLCHoklch(81.34% 0.135 105.8)
XYZxyz(47.5183, 54.6261, 16.6334)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC755 #555CCE
analogous
#CE8B55 #CEC755 #99CE55
triadic
#CEC755 #55CEC7 #C755CE
tetradic
#CEC755 #55CE8B #555CCE #CE5599
square
#CEC755 #55CE8B #555CCE #CE5599
split-complementary
#CEC755 #5599CE #8B55CE
monochromatic
#837D26 #B2AB33 #CEC755 #DCD785 #E9E6B4

Accessibility & contrast

On white

1.76
#CEC755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CEC755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC755
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC755#FFFFFF#000000##000000
##CEC7551.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C048
Deuteranopia (green-blind)
#DAC55B
Tritanopia (blue-blind)
#DCBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec755;
/* rgb */ color: rgb(206, 199, 85);
/* oklch */ color: oklch(81.3% 0.135 105.8);
Tailwind
colors: {
  custom: {
    50: '#e0d789',
    500: '#cec755',
    950: '#000000',
  },
}
SCSS
$custom: #cec755;
$custom-light: #e0d789;
$custom-dark: #000000;
JSON
{
  "hex": "#cec755",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 56.529,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81335,
    "c": 0.13534,
    "h": 105.8
  },
  "luminance": 0.54625
}

Semantic roles & 50–950 ramp

primary
#CEC755
secondary
#3D428A
accent
#52DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC755

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

Preview Lab → · Contrast checker → · Palette generator →

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