#CEC14A#CEC14A

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

Color values

HEX#CEC14A
RGBrgb(206, 193, 74)
HSLhsl(54, 57%, 55%)
HSVhsv(54, 64%, 81%)
CMYKcmyk(0%, 6.3%, 64.1%, 19.2%)
CIE-LABlab(77.14, -9.56, 59.50)
CIE-LCHlch(77.14, 60.26, 99.13°)
OKLaboklab(79.96% -0.0313 0.1349)
OKLCHoklch(79.96% 0.139 103.1)
XYZxyz(45.7614, 51.7579, 14.0570)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC14A #4A57CE
analogous
#CE7F4A #CEC14A #99CE4A
triadic
#CEC14A #4ACEC1 #C14ACE
tetradic
#CEC14A #4ACE7F #4A57CE #CE4A99
square
#CEC14A #4ACE7F #4A57CE #CE4A99
split-complementary
#CEC14A #4A99CE #7F4ACE
monochromatic
#7C7322 #ACA02F #CEC14A #DBD17A #E8E2AA

Accessibility & contrast

On white

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

On black

11.35
#CEC14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC14A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC14A#FFFFFF#000000##000000
##CEC14A1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3B
Deuteranopia (green-blind)
#D6C151
Tritanopia (blue-blind)
#DDB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec14a;
/* rgb */ color: rgb(206, 193, 74);
/* oklch */ color: oklch(80.0% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e0d382',
    500: '#cec14a',
    950: '#000000',
  },
}
SCSS
$custom: #cec14a;
$custom-light: #e0d382;
$custom-dark: #000000;
JSON
{
  "hex": "#cec14a",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 74
  },
  "hsl": {
    "h": 54.091,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79961,
    "c": 0.13851,
    "h": 103.1
  },
  "luminance": 0.51756
}

Semantic roles & 50–950 ramp

primary
#CEC14A
secondary
#384084
accent
#56E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC14A

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

Preview Lab → · Contrast checker → · Palette generator →

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