#CEC055#CEC055

#CEC055 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.129 H 101.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CEC055
RGBrgb(206, 192, 85)
HSLhsl(53, 55%, 57%)
HSVhsv(53, 59%, 81%)
CMYKcmyk(0%, 6.8%, 58.7%, 19.2%)
CIE-LABlab(76.97, -8.32, 54.51)
CIE-LCHlch(76.97, 55.14, 98.68°)
OKLaboklab(79.86% -0.0265 0.1259)
OKLCHoklch(79.86% 0.129 101.9)
XYZxyz(45.9446, 51.4787, 16.1088)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC055 #5563CE
analogous
#CE8455 #CEC055 #A0CE55
triadic
#CEC055 #55CEC0 #C055CE
tetradic
#CEC055 #55CE84 #5563CE #CE55A0
square
#CEC055 #55CE84 #5563CE #CE55A0
split-complementary
#CEC055 #55A0CE #8455CE
monochromatic
#837826 #B2A433 #CEC055 #DCD285 #E9E3B4

Accessibility & contrast

On white

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

On black

11.30
#CEC055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC055
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC055#FFFFFF#000000##000000
##CEC0551.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4A
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#DCB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec055;
/* rgb */ color: rgb(206, 192, 85);
/* oklch */ color: oklch(79.9% 0.129 101.9);
Tailwind
colors: {
  custom: {
    50: '#e0d289',
    500: '#cec055',
    950: '#000000',
  },
}
SCSS
$custom: #cec055;
$custom-light: #e0d289;
$custom-dark: #000000;
JSON
{
  "hex": "#cec055",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 53.058,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79859,
    "c": 0.12862,
    "h": 101.9
  },
  "luminance": 0.51477
}

Semantic roles & 50–950 ramp

primary
#CEC055
secondary
#3D468A
accent
#5BDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC055

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

Preview Lab → · Contrast checker → · Palette generator →

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