#CEC041#CEC041

#CEC041 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.144 H 103.0°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CEC041
RGBrgb(206, 192, 65)
HSLhsl(54, 59%, 53%)
HSVhsv(54, 68%, 81%)
CMYKcmyk(0%, 6.8%, 68.4%, 19.2%)
CIE-LABlab(76.80, -9.57, 62.80)
CIE-LCHlch(76.80, 63.53, 98.66°)
OKLaboklab(79.68% -0.0323 0.1405)
OKLCHoklch(79.68% 0.144 103)
XYZxyz(45.2593, 51.2046, 12.4995)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC041 #414FCE
analogous
#CE7A41 #CEC041 #95CE41
triadic
#CEC041 #41CEC0 #C041CE
tetradic
#CEC041 #41CE7A #414FCE #CE4195
square
#CEC041 #41CE7A #414FCE #CE4195
split-complementary
#CEC041 #4195CE #7A41CE
monochromatic
#766D1E #A79A2B #CEC041 #DBD072 #E7E0A2

Accessibility & contrast

On white

1.87
#CEC041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#CEC041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC041
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC041#FFFFFF#000000##000000
##CEC0411.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2E
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#DDB3A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec041;
/* rgb */ color: rgb(206, 192, 65);
/* oklch */ color: oklch(79.7% 0.144 103.0);
Tailwind
colors: {
  custom: {
    50: '#e0d27d',
    500: '#cec041',
    950: '#000000',
  },
}
SCSS
$custom: #cec041;
$custom-light: #e0d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec041",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 54.043,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79675,
    "c": 0.14413,
    "h": 103
  },
  "luminance": 0.51203
}

Semantic roles & 50–950 ramp

primary
#CEC041
secondary
#353C7F
accent
#55E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC041

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

Preview Lab → · Contrast checker → · Palette generator →

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