#CEC644#CEC644

#CEC644 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.148 H 105.8°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CEC644
RGBrgb(206, 198, 68)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 67%, 81%)
CMYKcmyk(0%, 3.9%, 67%, 19.2%)
CIE-LABlab(78.42, -12.46, 63.27)
CIE-LCHlch(78.42, 64.48, 101.14°)
OKLaboklab(80.97% -0.0402 0.1419)
OKLCHoklch(80.97% 0.148 105.8)
XYZxyz(46.6928, 53.9290, 13.4175)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC644 #444CCE
analogous
#CE8144 #CEC644 #91CE44
triadic
#CEC644 #44CEC6 #C644CE
tetradic
#CEC644 #44CE81 #444CCE #CE4491
square
#CEC644 #44CE81 #444CCE #CE4491
split-complementary
#CEC644 #4491CE #8144CE
monochromatic
#78731F #A9A12C #CEC644 #DBD574 #E7E4A5

Accessibility & contrast

On white

1.78
#CEC644 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CEC644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC644
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC644#FFFFFF#000000##000000
##CEC6441.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF31
Deuteranopia (green-blind)
#DAC54C
Tritanopia (blue-blind)
#DDB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec644;
/* rgb */ color: rgb(206, 198, 68);
/* oklch */ color: oklch(81.0% 0.148 105.8);
Tailwind
colors: {
  custom: {
    50: '#e0d77f',
    500: '#cec644',
    950: '#000000',
  },
}
SCSS
$custom: #cec644;
$custom-light: #e0d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec644",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 68
  },
  "hsl": {
    "h": 56.522,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80969,
    "c": 0.14752,
    "h": 105.8
  },
  "luminance": 0.53927
}

Semantic roles & 50–950 ramp

primary
#CEC644
secondary
#363A80
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC644

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

Preview Lab → · Contrast checker → · Palette generator →

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