#CEC143#CEC143

#CEC143 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.144 H 103.4°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CEC143
RGBrgb(206, 193, 67)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 67%, 81%)
CMYKcmyk(0%, 6.3%, 67.5%, 19.2%)
CIE-LABlab(77.08, -9.97, 62.30)
CIE-LCHlch(77.08, 63.09, 99.09°)
OKLaboklab(79.9% -0.0332 0.1397)
OKLCHoklch(79.9% 0.144 103.4)
XYZxyz(45.5385, 51.6688, 12.8834)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC143 #4350CE
analogous
#CE7B43 #CEC143 #96CE43
triadic
#CEC143 #43CEC1 #C143CE
tetradic
#CEC143 #43CE7B #4350CE #CE4396
square
#CEC143 #43CE7B #4350CE #CE4396
split-complementary
#CEC143 #4396CE #7B43CE
monochromatic
#776F1F #A89C2C #CEC143 #DBD174 #E7E1A4

Accessibility & contrast

On white

1.85
#CEC143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CEC143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC143
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC143#FFFFFF#000000##000000
##CEC1431.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#DDB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec143;
/* rgb */ color: rgb(206, 193, 67);
/* oklch */ color: oklch(79.9% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e0d37e',
    500: '#cec143',
    950: '#000000',
  },
}
SCSS
$custom: #cec143;
$custom-light: #e0d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec143",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 54.388,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79902,
    "c": 0.14363,
    "h": 103.4
  },
  "luminance": 0.51667
}

Semantic roles & 50–950 ramp

primary
#CEC143
secondary
#353C80
accent
#55E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC143

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

Preview Lab → · Contrast checker → · Palette generator →

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