#CECC4B#CECC4B

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

Color values

HEX#CECC4B
RGBrgb(206, 204, 75)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 81%)
CMYKcmyk(0%, 1%, 63.6%, 19.2%)
CIE-LABlab(80.08, -15.07, 62.18)
CIE-LCHlch(80.08, 63.98, 103.63°)
OKLaboklab(82.31% -0.0468 0.1407)
OKLCHoklch(82.31% 0.148 108.4)
XYZxyz(48.3181, 56.8170, 15.0768)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC4B #4B4DCE
analogous
#CE8A4B #CECC4B #8ECE4B
triadic
#CECC4B #4BCECC #CC4BCE
tetradic
#CECC4B #4BCE8A #4B4DCE #CE4B8E
square
#CECC4B #4BCE8A #4B4DCE #CE4B8E
split-complementary
#CECC4B #4B8ECE #8A4BCE
monochromatic
#7D7B22 #ADAB2F #CECC4B #DBDA7B #E8E7AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECC4B#FFFFFF#000000##000000
##CECC4B1.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)
#DCC43A
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc4b;
/* rgb */ color: rgb(206, 204, 75);
/* oklch */ color: oklch(82.3% 0.148 108.4);
Tailwind
colors: {
  custom: {
    50: '#e0db83',
    500: '#cecc4b',
    950: '#000000',
  },
}
SCSS
$custom: #cecc4b;
$custom-light: #e0db83;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc4b",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 59.084,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82305,
    "c": 0.14833,
    "h": 108.4
  },
  "luminance": 0.56816
}

Semantic roles & 50–950 ramp

primary
#CECC4B
secondary
#393A84
accent
#4AE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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