#CEC350#CEC350

#CEC350 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.136 H 103.9°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CEC350
RGBrgb(206, 195, 80)
HSLhsl(55, 56%, 56%)
HSVhsv(55, 61%, 81%)
CMYKcmyk(0%, 5.3%, 61.2%, 19.2%)
CIE-LABlab(77.72, -10.20, 57.56)
CIE-LCHlch(77.72, 58.45, 100.05°)
OKLaboklab(80.44% -0.0325 0.1317)
OKLCHoklch(80.44% 0.136 103.9)
XYZxyz(46.4183, 52.7329, 15.3212)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC350 #505BCE
analogous
#CE8450 #CEC350 #9ACE50
triadic
#CEC350 #50CEC3 #C350CE
tetradic
#CEC350 #50CE84 #505BCE #CE509A
square
#CEC350 #50CE84 #505BCE #CE509A
split-complementary
#CEC350 #509ACE #8450CE
monochromatic
#807824 #B0A531 #CEC350 #DBD380 #E9E4B0

Accessibility & contrast

On white

1.82
#CEC350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#CEC350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC350
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC350#FFFFFF#000000##000000
##CEC3501.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD43
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#DCB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec350;
/* rgb */ color: rgb(206, 195, 80);
/* oklch */ color: oklch(80.4% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#e0d486',
    500: '#cec350',
    950: '#000000',
  },
}
SCSS
$custom: #cec350;
$custom-light: #e0d486;
$custom-dark: #000000;
JSON
{
  "hex": "#cec350",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 80
  },
  "hsl": {
    "h": 54.762,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80439,
    "c": 0.13562,
    "h": 103.9
  },
  "luminance": 0.52731
}

Semantic roles & 50–950 ramp

primary
#CEC350
secondary
#3B4287
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC350

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

Preview Lab → · Contrast checker → · Palette generator →

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