#CEC14F#CEC14F

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

Color values

HEX#CEC14F
RGBrgb(206, 193, 79)
HSLhsl(54, 56%, 56%)
HSVhsv(54, 62%, 81%)
CMYKcmyk(0%, 6.3%, 61.7%, 19.2%)
CIE-LABlab(77.18, -9.25, 57.40)
CIE-LCHlch(77.18, 58.14, 99.15°)
OKLaboklab(80.01% -0.0299 0.1312)
OKLCHoklch(80.01% 0.135 102.8)
XYZxyz(45.9366, 51.8280, 14.9797)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC14F #4F5CCE
analogous
#CE814F #CEC14F #9BCE4F
triadic
#CEC14F #4FCEC1 #C14FCE
tetradic
#CEC14F #4FCE81 #4F5CCE #CE4F9B
square
#CEC14F #4FCE81 #4F5CCE #CE4F9B
split-complementary
#CEC14F #4F9BCE #814FCE
monochromatic
#7F7623 #AFA231 #CEC14F #DBD27F #E9E3AF

Accessibility & contrast

On white

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

On black

11.37
#CEC14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC14F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC14F#FFFFFF#000000##000000
##CEC14F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec14f;
/* rgb */ color: rgb(206, 193, 79);
/* oklch */ color: oklch(80.0% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#e0d385',
    500: '#cec14f',
    950: '#000000',
  },
}
SCSS
$custom: #cec14f;
$custom-light: #e0d385;
$custom-dark: #000000;
JSON
{
  "hex": "#cec14f",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 53.858,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80008,
    "c": 0.13456,
    "h": 102.8
  },
  "luminance": 0.51826
}

Semantic roles & 50–950 ramp

primary
#CEC14F
secondary
#3A4287
accent
#58E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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