#CEC246#CEC246

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

Color values

HEX#CEC246
RGBrgb(206, 194, 70)
HSLhsl(55, 58%, 54%)
HSVhsv(55, 66%, 81%)
CMYKcmyk(0%, 5.8%, 66%, 19.2%)
CIE-LABlab(77.37, -10.31, 61.39)
CIE-LCHlch(77.37, 62.25, 99.54°)
OKLaboklab(80.14% -0.0339 0.1383)
OKLCHoklch(80.14% 0.142 103.8)
XYZxyz(45.8527, 52.1493, 13.4437)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC246 #4652CE
analogous
#CE7E46 #CEC246 #96CE46
triadic
#CEC246 #46CEC2 #C246CE
tetradic
#CEC246 #46CE7E #4652CE #CE4696
square
#CEC246 #46CE7E #4652CE #CE4696
split-complementary
#CEC246 #4696CE #7E46CE
monochromatic
#797220 #AA9F2D #CEC246 #DBD276 #E8E2A7

Accessibility & contrast

On white

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

On black

11.43
#CEC246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC246
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC246#FFFFFF#000000##000000
##CEC2461.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec246;
/* rgb */ color: rgb(206, 194, 70);
/* oklch */ color: oklch(80.1% 0.142 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0d480',
    500: '#cec246',
    950: '#000000',
  },
}
SCSS
$custom: #cec246;
$custom-light: #e0d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cec246",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 54.706,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80137,
    "c": 0.1424,
    "h": 103.8
  },
  "luminance": 0.52148
}

Semantic roles & 50–950 ramp

primary
#CEC246
secondary
#373D82
accent
#54E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC246

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

Preview Lab → · Contrast checker → · Palette generator →

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