#CEC447#CEC447

#CEC447 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.144 H 104.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CEC447
RGBrgb(206, 196, 71)
HSLhsl(56, 58%, 54%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 4.9%, 65.5%, 19.2%)
CIE-LABlab(77.91, -11.27, 61.55)
CIE-LCHlch(77.91, 62.57, 100.38°)
OKLaboklab(80.57% -0.0365 0.1388)
OKLCHoklch(80.57% 0.144 104.7)
XYZxyz(46.3326, 53.0583, 13.7607)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC447 #4751CE
analogous
#CE8147 #CEC447 #94CE47
triadic
#CEC447 #47CEC4 #C447CE
tetradic
#CEC447 #47CE81 #4751CE #CE4794
square
#CEC447 #47CE81 #4751CE #CE4794
split-complementary
#CEC447 #4794CE #8147CE
monochromatic
#7A7321 #AAA12D #CEC447 #DBD377 #E8E3A8

Accessibility & contrast

On white

1.81
#CEC447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CEC447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC447
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC447#FFFFFF#000000##000000
##CEC4471.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD36
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#DDB7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec447;
/* rgb */ color: rgb(206, 196, 71);
/* oklch */ color: oklch(80.6% 0.144 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d581',
    500: '#cec447',
    950: '#000000',
  },
}
SCSS
$custom: #cec447;
$custom-light: #e0d581;
$custom-dark: #000000;
JSON
{
  "hex": "#cec447",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 71
  },
  "hsl": {
    "h": 55.556,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80569,
    "c": 0.14351,
    "h": 104.7
  },
  "luminance": 0.53057
}

Semantic roles & 50–950 ramp

primary
#CEC447
secondary
#373D82
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC447

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

Preview Lab → · Contrast checker → · Palette generator →

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