#CEC14B#CEC14B

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

Color values

HEX#CEC14B
RGBrgb(206, 193, 75)
HSLhsl(54, 57%, 55%)
HSVhsv(54, 64%, 81%)
CMYKcmyk(0%, 6.3%, 63.6%, 19.2%)
CIE-LABlab(77.14, -9.50, 59.08)
CIE-LCHlch(77.14, 59.84, 99.14°)
OKLaboklab(79.97% -0.031 0.1342)
OKLCHoklch(79.97% 0.138 103)
XYZxyz(45.7953, 51.7715, 14.2359)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC14B #4B58CE
analogous
#CE804B #CEC14B #99CE4B
triadic
#CEC14B #4BCEC1 #C14BCE
tetradic
#CEC14B #4BCE80 #4B58CE #CE4B99
square
#CEC14B #4BCE80 #4B58CE #CE4B99
split-complementary
#CEC14B #4B99CE #804BCE
monochromatic
#7D7422 #ADA02F #CEC14B #DBD27B #E8E2AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC14B#FFFFFF#000000##000000
##CEC14B1.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)
#D1BB3D
Deuteranopia (green-blind)
#D6C152
Tritanopia (blue-blind)
#DDB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec14b;
/* rgb */ color: rgb(206, 193, 75);
/* oklch */ color: oklch(80.0% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#e0d383',
    500: '#cec14b',
    950: '#000000',
  },
}
SCSS
$custom: #cec14b;
$custom-light: #e0d383;
$custom-dark: #000000;
JSON
{
  "hex": "#cec14b",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 54.046,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7997,
    "c": 0.13774,
    "h": 103
  },
  "luminance": 0.5177
}

Semantic roles & 50–950 ramp

primary
#CEC14B
secondary
#394084
accent
#57E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC14B

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

Preview Lab → · Contrast checker → · Palette generator →

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