#CEC14D#CEC14D

#CEC14D is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.136 H 102.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CEC14D
RGBrgb(206, 193, 77)
HSLhsl(54, 57%, 55%)
HSVhsv(54, 63%, 81%)
CMYKcmyk(0%, 6.3%, 62.6%, 19.2%)
CIE-LABlab(77.16, -9.38, 58.25)
CIE-LCHlch(77.16, 59.00, 99.14°)
OKLaboklab(79.99% -0.0305 0.1327)
OKLCHoklch(79.99% 0.136 102.9)
XYZxyz(45.8649, 51.7993, 14.6021)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC14D #4D5ACE
analogous
#CE804D #CEC14D #9BCE4D
triadic
#CEC14D #4DCEC1 #C14DCE
tetradic
#CEC14D #4DCE80 #4D5ACE #CE4D9B
square
#CEC14D #4DCE80 #4D5ACE #CE4D9B
split-complementary
#CEC14D #4D9BCE #804DCE
monochromatic
#7E7523 #AEA130 #CEC14D #DBD27D #E8E2AD

Accessibility & contrast

On white

1.85
#CEC14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CEC14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC14D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC14D#FFFFFF#000000##000000
##CEC14D1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3F
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#DDB4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec14d;
/* rgb */ color: rgb(206, 193, 77);
/* oklch */ color: oklch(80.0% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#e0d384',
    500: '#cec14d',
    950: '#000000',
  },
}
SCSS
$custom: #cec14d;
$custom-light: #e0d384;
$custom-dark: #000000;
JSON
{
  "hex": "#cec14d",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 53.953,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79989,
    "c": 0.13617,
    "h": 102.9
  },
  "luminance": 0.51798
}

Semantic roles & 50–950 ramp

primary
#CEC14D
secondary
#3A4186
accent
#57E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC14D

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

Preview Lab → · Contrast checker → · Palette generator →

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