#CEC343#CEC343

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

Color values

HEX#CEC343
RGBrgb(206, 195, 67)
HSLhsl(55, 59%, 54%)
HSVhsv(55, 67%, 81%)
CMYKcmyk(0%, 5.3%, 67.5%, 19.2%)
CIE-LABlab(77.61, -10.99, 62.84)
CIE-LCHlch(77.61, 63.79, 99.92°)
OKLaboklab(80.32% -0.0361 0.1409)
OKLCHoklch(80.32% 0.145 104.4)
XYZxyz(45.9837, 52.5590, 13.0318)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC343 #434ECE
analogous
#CE7D43 #CEC343 #93CE43
triadic
#CEC343 #43CEC3 #C343CE
tetradic
#CEC343 #43CE7D #434ECE #CE4393
square
#CEC343 #43CE7D #434ECE #CE4393
split-complementary
#CEC343 #4393CE #7D43CE
monochromatic
#77701F #A89E2C #CEC343 #DBD274 #E7E2A4

Accessibility & contrast

On white

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

On black

11.51
#CEC343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC343
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC343#FFFFFF#000000##000000
##CEC3431.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec343;
/* rgb */ color: rgb(206, 195, 67);
/* oklch */ color: oklch(80.3% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#e0d47e',
    500: '#cec343',
    950: '#000000',
  },
}
SCSS
$custom: #cec343;
$custom-light: #e0d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec343",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 55.252,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80324,
    "c": 0.14544,
    "h": 104.4
  },
  "luminance": 0.52557
}

Semantic roles & 50–950 ramp

primary
#CEC343
secondary
#353B80
accent
#52E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC343

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

Preview Lab → · Contrast checker → · Palette generator →

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