#CEC155#CEC155

#CEC155 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.130 H 102.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CEC155
RGBrgb(206, 193, 85)
HSLhsl(54, 55%, 57%)
HSVhsv(54, 59%, 81%)
CMYKcmyk(0%, 6.3%, 58.7%, 19.2%)
CIE-LABlab(77.23, -8.83, 54.81)
CIE-LCHlch(77.23, 55.51, 99.15°)
OKLaboklab(80.07% -0.028 0.1265)
OKLCHoklch(80.07% 0.13 102.5)
XYZxyz(46.1649, 51.9193, 16.1823)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC155 #5562CE
analogous
#CE8555 #CEC155 #9ECE55
triadic
#CEC155 #55CEC1 #C155CE
tetradic
#CEC155 #55CE85 #5562CE #CE559E
square
#CEC155 #55CE85 #5562CE #CE559E
split-complementary
#CEC155 #559ECE #8555CE
monochromatic
#837926 #B2A533 #CEC155 #DCD285 #E9E4B4

Accessibility & contrast

On white

1.84
#CEC155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CEC155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC155
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC155#FFFFFF#000000##000000
##CEC1551.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB49
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#DCB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec155;
/* rgb */ color: rgb(206, 193, 85);
/* oklch */ color: oklch(80.1% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#e0d389',
    500: '#cec155',
    950: '#000000',
  },
}
SCSS
$custom: #cec155;
$custom-light: #e0d389;
$custom-dark: #000000;
JSON
{
  "hex": "#cec155",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 53.554,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80069,
    "c": 0.12954,
    "h": 102.5
  },
  "luminance": 0.51918
}

Semantic roles & 50–950 ramp

primary
#CEC155
secondary
#3D458A
accent
#59DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC155

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

Preview Lab → · Contrast checker → · Palette generator →

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