#CEC247#CEC247

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

Color values

HEX#CEC247
RGBrgb(206, 194, 71)
HSLhsl(55, 58%, 54%)
HSVhsv(55, 66%, 81%)
CMYKcmyk(0%, 5.8%, 65.5%, 19.2%)
CIE-LABlab(77.38, -10.26, 60.99)
CIE-LCHlch(77.38, 61.85, 99.54°)
OKLaboklab(80.15% -0.0336 0.1376)
OKLCHoklch(80.15% 0.142 103.7)
XYZxyz(45.8845, 52.1621, 13.6113)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC247 #4753CE
analogous
#CE7F47 #CEC247 #96CE47
triadic
#CEC247 #47CEC2 #C247CE
tetradic
#CEC247 #47CE7F #4753CE #CE4796
square
#CEC247 #47CE7F #4753CE #CE4796
split-complementary
#CEC247 #4796CE #7F47CE
monochromatic
#7A7221 #AA9F2D #CEC247 #DBD277 #E8E2A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC247#FFFFFF#000000##000000
##CEC2471.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)
#D3BC37
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec247;
/* rgb */ color: rgb(206, 194, 71);
/* oklch */ color: oklch(80.1% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e0d480',
    500: '#cec247',
    950: '#000000',
  },
}
SCSS
$custom: #cec247;
$custom-light: #e0d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cec247",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 54.667,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80146,
    "c": 0.14167,
    "h": 103.7
  },
  "luminance": 0.5216
}

Semantic roles & 50–950 ramp

primary
#CEC247
secondary
#373E82
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC247

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

Preview Lab → · Contrast checker → · Palette generator →

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