#CECC4A#CECC4A

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

Color values

HEX#CECC4A
RGBrgb(206, 204, 74)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 81%)
CMYKcmyk(0%, 1%, 64.1%, 19.2%)
CIE-LABlab(80.07, -15.13, 62.58)
CIE-LCHlch(80.07, 64.38, 103.60°)
OKLaboklab(82.3% -0.0471 0.1414)
OKLCHoklch(82.3% 0.149 108.4)
XYZxyz(48.2841, 56.8034, 14.8979)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC4A #4A4CCE
analogous
#CE8A4A #CECC4A #8ECE4A
triadic
#CECC4A #4ACECC #CC4ACE
tetradic
#CECC4A #4ACE8A #4A4CCE #CE4A8E
square
#CECC4A #4ACE8A #4A4CCE #CE4A8E
split-complementary
#CECC4A #4A8ECE #8A4ACE
monochromatic
#7C7B22 #ACAA2F #CECC4A #DBDA7A #E8E7AA

Accessibility & contrast

On white

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

On black

12.36
#CECC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC4A
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC4A#FFFFFF#000000##000000
##CECC4A1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC439
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc4a;
/* rgb */ color: rgb(206, 204, 74);
/* oklch */ color: oklch(82.3% 0.149 108.4);
Tailwind
colors: {
  custom: {
    50: '#e0db83',
    500: '#cecc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cecc4a;
$custom-light: #e0db83;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc4a",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 59.091,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82297,
    "c": 0.14907,
    "h": 108.4
  },
  "luminance": 0.56802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CECC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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