#CEC641#CEC641

#CEC641 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.150 H 105.9°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CEC641
RGBrgb(206, 198, 65)
HSLhsl(57, 59%, 53%)
HSVhsv(57, 68%, 81%)
CMYKcmyk(0%, 3.9%, 68.4%, 19.2%)
CIE-LABlab(78.40, -12.62, 64.41)
CIE-LCHlch(78.40, 65.63, 101.09°)
OKLaboklab(80.94% -0.0409 0.1439)
OKLCHoklch(80.94% 0.15 105.9)
XYZxyz(46.6036, 53.8933, 12.9476)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC641 #4149CE
analogous
#CE7F41 #CEC641 #8FCE41
triadic
#CEC641 #41CEC6 #C641CE
tetradic
#CEC641 #41CE7F #4149CE #CE418F
square
#CEC641 #41CE7F #4149CE #CE418F
split-complementary
#CEC641 #418FCE #7F41CE
monochromatic
#76711E #A7A02B #CEC641 #DBD572 #E7E3A2

Accessibility & contrast

On white

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

On black

11.78
#CEC641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC641
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC641#FFFFFF#000000##000000
##CEC6411.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#DAC44A
Tritanopia (blue-blind)
#DDB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec641;
/* rgb */ color: rgb(206, 198, 65);
/* oklch */ color: oklch(80.9% 0.150 105.9);
Tailwind
colors: {
  custom: {
    50: '#e0d77d',
    500: '#cec641',
    950: '#000000',
  },
}
SCSS
$custom: #cec641;
$custom-light: #e0d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec641",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 56.596,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80945,
    "c": 0.14957,
    "h": 105.9
  },
  "luminance": 0.53892
}

Semantic roles & 50–950 ramp

primary
#CEC641
secondary
#35397F
accent
#4EE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC641

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

Preview Lab → · Contrast checker → · Palette generator →

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