#CEC450#CEC450

#CEC450 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.137 H 104.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CEC450
RGBrgb(206, 196, 80)
HSLhsl(55, 56%, 56%)
HSVhsv(55, 61%, 81%)
CMYKcmyk(0%, 4.9%, 61.2%, 19.2%)
CIE-LABlab(77.98, -10.71, 57.84)
CIE-LCHlch(77.98, 58.83, 100.49°)
OKLaboklab(80.65% -0.0339 0.1323)
OKLCHoklch(80.65% 0.137 104.4)
XYZxyz(46.6432, 53.1825, 15.3962)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC450 #505ACE
analogous
#CE8550 #CEC450 #99CE50
triadic
#CEC450 #50CEC4 #C450CE
tetradic
#CEC450 #50CE85 #505ACE #CE5099
square
#CEC450 #50CE85 #505ACE #CE5099
split-complementary
#CEC450 #5099CE #8550CE
monochromatic
#807924 #B0A631 #CEC450 #DBD480 #E9E4B0

Accessibility & contrast

On white

1.80
#CEC450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CEC450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC450
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC450#FFFFFF#000000##000000
##CEC4501.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#D8C356
Tritanopia (blue-blind)
#DCB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec450;
/* rgb */ color: rgb(206, 196, 80);
/* oklch */ color: oklch(80.7% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e0d586',
    500: '#cec450',
    950: '#000000',
  },
}
SCSS
$custom: #cec450;
$custom-light: #e0d586;
$custom-dark: #000000;
JSON
{
  "hex": "#cec450",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 55.238,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80651,
    "c": 0.13656,
    "h": 104.4
  },
  "luminance": 0.53181
}

Semantic roles & 50–950 ramp

primary
#CEC450
secondary
#3B4187
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC450

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

Preview Lab → · Contrast checker → · Palette generator →

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