#CEC241#CEC241

#CEC241 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.146 H 104.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CEC241
RGBrgb(206, 194, 65)
HSLhsl(55, 59%, 53%)
HSVhsv(55, 68%, 81%)
CMYKcmyk(0%, 5.8%, 68.4%, 19.2%)
CIE-LABlab(77.33, -10.59, 63.34)
CIE-LCHlch(77.33, 64.22, 99.49°)
OKLaboklab(80.1% -0.0352 0.1416)
OKLCHoklch(80.1% 0.146 104)
XYZxyz(45.7014, 52.0888, 12.6468)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC241 #414DCE
analogous
#CE7C41 #CEC241 #93CE41
triadic
#CEC241 #41CEC2 #C241CE
tetradic
#CEC241 #41CE7C #414DCE #CE4193
square
#CEC241 #41CE7C #414DCE #CE4193
split-complementary
#CEC241 #4193CE #7C41CE
monochromatic
#766F1E #A79C2B #CEC241 #DBD272 #E7E1A2

Accessibility & contrast

On white

1.84
#CEC241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CEC241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC241
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC241#FFFFFF#000000##000000
##CEC2411.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2E
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#DDB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec241;
/* rgb */ color: rgb(206, 194, 65);
/* oklch */ color: oklch(80.1% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#e0d47d',
    500: '#cec241',
    950: '#000000',
  },
}
SCSS
$custom: #cec241;
$custom-light: #e0d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec241",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 54.894,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80097,
    "c": 0.1459,
    "h": 104
  },
  "luminance": 0.52087
}

Semantic roles & 50–950 ramp

primary
#CEC241
secondary
#353B7F
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC241

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

Preview Lab → · Contrast checker → · Palette generator →

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