#CEC944#CEC944

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

Color values

HEX#CEC944
RGBrgb(206, 201, 68)
HSLhsl(58, 58%, 54%)
HSVhsv(58, 67%, 81%)
CMYKcmyk(0%, 2.4%, 67%, 19.2%)
CIE-LABlab(79.22, -13.97, 64.08)
CIE-LCHlch(79.22, 65.59, 102.30°)
OKLaboklab(81.61% -0.0445 0.1437)
OKLCHoklch(81.61% 0.15 107.2)
XYZxyz(47.3854, 55.3140, 13.6483)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC944 #4449CE
analogous
#CE8444 #CEC944 #8ECE44
triadic
#CEC944 #44CEC9 #C944CE
tetradic
#CEC944 #44CE84 #4449CE #CE448E
square
#CEC944 #44CE84 #4449CE #CE448E
split-complementary
#CEC944 #448ECE #8444CE
monochromatic
#78751F #A9A42C #CEC944 #DBD774 #E7E5A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC944#FFFFFF#000000##000000
##CEC9441.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)
#D9C131
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#DDBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec944;
/* rgb */ color: rgb(206, 201, 68);
/* oklch */ color: oklch(81.6% 0.150 107.2);
Tailwind
colors: {
  custom: {
    50: '#e0d97f',
    500: '#cec944',
    950: '#000000',
  },
}
SCSS
$custom: #cec944;
$custom-light: #e0d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec944",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 68
  },
  "hsl": {
    "h": 57.826,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81607,
    "c": 0.15038,
    "h": 107.2
  },
  "luminance": 0.55312
}

Semantic roles & 50–950 ramp

primary
#CEC944
secondary
#363980
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC944

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

Preview Lab → · Contrast checker → · Palette generator →

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