#CEC650#CEC650

#CEC650 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.138 H 105.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CEC650
RGBrgb(206, 198, 80)
HSLhsl(56, 56%, 56%)
HSVhsv(56, 61%, 81%)
CMYKcmyk(0%, 3.9%, 61.2%, 19.2%)
CIE-LABlab(78.51, -11.73, 58.42)
CIE-LCHlch(78.51, 59.59, 101.35°)
OKLaboklab(81.07% -0.0368 0.1335)
OKLCHoklch(81.07% 0.138 105.4)
XYZxyz(47.0973, 54.0908, 15.5475)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC650 #5058CE
analogous
#CE8750 #CEC650 #97CE50
triadic
#CEC650 #50CEC6 #C650CE
tetradic
#CEC650 #50CE87 #5058CE #CE5097
square
#CEC650 #50CE87 #5058CE #CE5097
split-complementary
#CEC650 #5097CE #8750CE
monochromatic
#807A24 #B0A831 #CEC650 #DBD680 #E9E5B0

Accessibility & contrast

On white

1.78
#CEC650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CEC650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC650
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC650#FFFFFF#000000##000000
##CEC6501.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#DCBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec650;
/* rgb */ color: rgb(206, 198, 80);
/* oklch */ color: oklch(81.1% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0d786',
    500: '#cec650',
    950: '#000000',
  },
}
SCSS
$custom: #cec650;
$custom-light: #e0d786;
$custom-dark: #000000;
JSON
{
  "hex": "#cec650",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 56.19,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81074,
    "c": 0.13849,
    "h": 105.4
  },
  "luminance": 0.54089
}

Semantic roles & 50–950 ramp

primary
#CEC650
secondary
#3B4087
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC650

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

Preview Lab → · Contrast checker → · Palette generator →

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