#CEC345#CEC345

#CEC345 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.144 H 104.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CEC345
RGBrgb(206, 195, 69)
HSLhsl(55, 58%, 54%)
HSVhsv(55, 67%, 81%)
CMYKcmyk(0%, 5.3%, 66.5%, 19.2%)
CIE-LABlab(77.63, -10.88, 62.06)
CIE-LCHlch(77.63, 63.01, 99.94°)
OKLaboklab(80.34% -0.0356 0.1396)
OKLCHoklch(80.34% 0.144 104.3)
XYZxyz(46.0447, 52.5834, 13.3533)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC345 #4550CE
analogous
#CE7F45 #CEC345 #95CE45
triadic
#CEC345 #45CEC3 #C345CE
tetradic
#CEC345 #45CE7F #4550CE #CE4595
square
#CEC345 #45CE7F #4550CE #CE4595
split-complementary
#CEC345 #4595CE #7F45CE
monochromatic
#797220 #A99F2D #CEC345 #DBD375 #E8E2A6

Accessibility & contrast

On white

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

On black

11.52
#CEC345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC345
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC345#FFFFFF#000000##000000
##CEC3451.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC34
Deuteranopia (green-blind)
#D7C34D
Tritanopia (blue-blind)
#DDB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec345;
/* rgb */ color: rgb(206, 195, 69);
/* oklch */ color: oklch(80.3% 0.144 104.3);
Tailwind
colors: {
  custom: {
    50: '#e0d47f',
    500: '#cec345',
    950: '#000000',
  },
}
SCSS
$custom: #cec345;
$custom-light: #e0d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec345",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 55.182,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80341,
    "c": 0.14403,
    "h": 104.3
  },
  "luminance": 0.52582
}

Semantic roles & 50–950 ramp

primary
#CEC345
secondary
#363C81
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC345

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

Preview Lab → · Contrast checker → · Palette generator →

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