#CECC47#CECC47

#CECC47 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.151 H 108.5°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CECC47
RGBrgb(206, 204, 71)
HSLhsl(59, 58%, 54%)
HSVhsv(59, 66%, 81%)
CMYKcmyk(0%, 1%, 65.5%, 19.2%)
CIE-LABlab(80.05, -15.31, 63.75)
CIE-LCHlch(80.05, 65.56, 103.50°)
OKLaboklab(82.27% -0.0479 0.1434)
OKLCHoklch(82.27% 0.151 108.5)
XYZxyz(48.1854, 56.7639, 14.3783)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC47 #4749CE
analogous
#CE8947 #CECC47 #8DCE47
triadic
#CECC47 #47CECC #CC47CE
tetradic
#CECC47 #47CE89 #4749CE #CE478D
square
#CECC47 #47CE89 #4749CE #CE478D
split-complementary
#CECC47 #478DCE #8947CE
monochromatic
#7A7921 #AAA92D #CECC47 #DBD977 #E8E7A8

Accessibility & contrast

On white

1.70
#CECC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CECC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC47
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC47#FFFFFF#000000##000000
##CECC471.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC434
Deuteranopia (green-blind)
#DEC950
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc47;
/* rgb */ color: rgb(206, 204, 71);
/* oklch */ color: oklch(82.3% 0.151 108.5);
Tailwind
colors: {
  custom: {
    50: '#e0db81',
    500: '#cecc47',
    950: '#000000',
  },
}
SCSS
$custom: #cecc47;
$custom-light: #e0db81;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc47",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 59.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82272,
    "c": 0.15123,
    "h": 108.5
  },
  "luminance": 0.56762
}

Semantic roles & 50–950 ramp

primary
#CECC47
secondary
#373882
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECC47

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

Preview Lab → · Contrast checker → · Palette generator →

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