#CEC346#CEC346

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

Color values

HEX#CEC346
RGBrgb(206, 195, 70)
HSLhsl(55, 58%, 54%)
HSVhsv(55, 66%, 81%)
CMYKcmyk(0%, 5.3%, 66%, 19.2%)
CIE-LABlab(77.64, -10.82, 61.67)
CIE-LCHlch(77.64, 62.61, 99.95°)
OKLaboklab(80.35% -0.0353 0.1389)
OKLCHoklch(80.35% 0.143 104.3)
XYZxyz(46.0760, 52.5960, 13.5181)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC346 #4651CE
analogous
#CE7F46 #CEC346 #95CE46
triadic
#CEC346 #46CEC3 #C346CE
tetradic
#CEC346 #46CE7F #4651CE #CE4695
square
#CEC346 #46CE7F #4651CE #CE4695
split-complementary
#CEC346 #4695CE #7F46CE
monochromatic
#797220 #AAA02D #CEC346 #DBD376 #E8E2A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC346#FFFFFF#000000##000000
##CEC3461.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)
#D4BC35
Deuteranopia (green-blind)
#D7C34E
Tritanopia (blue-blind)
#DDB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec346;
/* rgb */ color: rgb(206, 195, 70);
/* oklch */ color: oklch(80.3% 0.143 104.3);
Tailwind
colors: {
  custom: {
    50: '#e0d480',
    500: '#cec346',
    950: '#000000',
  },
}
SCSS
$custom: #cec346;
$custom-light: #e0d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cec346",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 55.147,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80349,
    "c": 0.14332,
    "h": 104.3
  },
  "luminance": 0.52594
}

Semantic roles & 50–950 ramp

primary
#CEC346
secondary
#373D82
accent
#53E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC346

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

Preview Lab → · Contrast checker → · Palette generator →

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