#CEC943#CEC943

#CEC943 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.151 H 107.2°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CEC943
RGBrgb(206, 201, 67)
HSLhsl(58, 59%, 54%)
HSVhsv(58, 67%, 81%)
CMYKcmyk(0%, 2.4%, 67.5%, 19.2%)
CIE-LABlab(79.21, -14.03, 64.46)
CIE-LCHlch(79.21, 65.97, 102.28°)
OKLaboklab(81.6% -0.0447 0.1443)
OKLCHoklch(81.6% 0.151 107.2)
XYZxyz(47.3551, 55.3019, 13.4890)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC943 #4348CE
analogous
#CE8343 #CEC943 #8DCE43
triadic
#CEC943 #43CEC9 #C943CE
tetradic
#CEC943 #43CE83 #4348CE #CE438D
square
#CEC943 #43CE83 #4348CE #CE438D
split-complementary
#CEC943 #438DCE #8343CE
monochromatic
#77741F #A8A42C #CEC943 #DBD774 #E7E5A4

Accessibility & contrast

On white

1.74
#CEC943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CEC943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC943
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC943#FFFFFF#000000##000000
##CEC9431.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#DDBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec943;
/* rgb */ color: rgb(206, 201, 67);
/* oklch */ color: oklch(81.6% 0.151 107.2);
Tailwind
colors: {
  custom: {
    50: '#e0d97f',
    500: '#cec943',
    950: '#000000',
  },
}
SCSS
$custom: #cec943;
$custom-light: #e0d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec943",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 57.842,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81599,
    "c": 0.15106,
    "h": 107.2
  },
  "luminance": 0.553
}

Semantic roles & 50–950 ramp

primary
#CEC943
secondary
#353880
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC943

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

Preview Lab → · Contrast checker → · Palette generator →

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