#CEC050#CEC050

#CEC050 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.133 H 102.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CEC050
RGBrgb(206, 192, 80)
HSLhsl(53, 56%, 56%)
HSVhsv(53, 61%, 81%)
CMYKcmyk(0%, 6.8%, 61.2%, 19.2%)
CIE-LABlab(76.92, -8.67, 56.69)
CIE-LCHlch(76.92, 57.35, 98.69°)
OKLaboklab(79.81% -0.0281 0.1298)
OKLCHoklch(79.81% 0.133 102.2)
XYZxyz(45.7529, 51.4021, 15.0994)
Luminance0.5140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC050 #505ECE
analogous
#CE8150 #CEC050 #9DCE50
triadic
#CEC050 #50CEC0 #C050CE
tetradic
#CEC050 #50CE81 #505ECE #CE509D
square
#CEC050 #50CE81 #505ECE #CE509D
split-complementary
#CEC050 #509DCE #8150CE
monochromatic
#807624 #B0A231 #CEC050 #DBD180 #E9E2B0

Accessibility & contrast

On white

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

On black

11.28
#CEC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC050
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC050#FFFFFF#000000##000000
##CEC0501.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#DDB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec050;
/* rgb */ color: rgb(206, 192, 80);
/* oklch */ color: oklch(79.8% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e0d286',
    500: '#cec050',
    950: '#000000',
  },
}
SCSS
$custom: #cec050;
$custom-light: #e0d286;
$custom-dark: #000000;
JSON
{
  "hex": "#cec050",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 53.333,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79808,
    "c": 0.13284,
    "h": 102.2
  },
  "luminance": 0.514
}

Semantic roles & 50–950 ramp

primary
#CEC050
secondary
#3B4387
accent
#59E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC050

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

Preview Lab → · Contrast checker → · Palette generator →

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