#CEC043#CEC043

#CEC043 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.143 H 102.9°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CEC043
RGBrgb(206, 192, 67)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 67%, 81%)
CMYKcmyk(0%, 6.8%, 67.5%, 19.2%)
CIE-LABlab(76.82, -9.46, 62.03)
CIE-LCHlch(76.82, 62.75, 98.67°)
OKLaboklab(79.69% -0.0318 0.1392)
OKLCHoklch(79.69% 0.143 102.9)
XYZxyz(45.3182, 51.2282, 12.8100)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC043 #4351CE
analogous
#CE7A43 #CEC043 #96CE43
triadic
#CEC043 #43CEC0 #C043CE
tetradic
#CEC043 #43CE7A #4351CE #CE4396
square
#CEC043 #43CE7A #4351CE #CE4396
split-complementary
#CEC043 #4396CE #7A43CE
monochromatic
#776F1F #A89B2C #CEC043 #DBD074 #E7E1A4

Accessibility & contrast

On white

1.87
#CEC043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CEC043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC043
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC043#FFFFFF#000000##000000
##CEC0431.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA31
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#DDB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec043;
/* rgb */ color: rgb(206, 192, 67);
/* oklch */ color: oklch(79.7% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#e0d27e',
    500: '#cec043',
    950: '#000000',
  },
}
SCSS
$custom: #cec043;
$custom-light: #e0d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec043",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 53.957,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79691,
    "c": 0.14275,
    "h": 102.9
  },
  "luminance": 0.51226
}

Semantic roles & 50–950 ramp

primary
#CEC043
secondary
#353D80
accent
#56E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC043

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

Preview Lab → · Contrast checker → · Palette generator →

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