#CEC044#CEC044

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

Color values

HEX#CEC044
RGBrgb(206, 192, 68)
HSLhsl(54, 58%, 54%)
HSVhsv(54, 67%, 81%)
CMYKcmyk(0%, 6.8%, 67%, 19.2%)
CIE-LABlab(76.82, -9.40, 61.64)
CIE-LCHlch(76.82, 62.35, 98.67°)
OKLaboklab(79.7% -0.0315 0.1385)
OKLCHoklch(79.7% 0.142 102.8)
XYZxyz(45.3485, 51.2403, 12.9694)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC044 #4452CE
analogous
#CE7B44 #CEC044 #97CE44
triadic
#CEC044 #44CEC0 #C044CE
tetradic
#CEC044 #44CE7B #4452CE #CE4497
square
#CEC044 #44CE7B #4452CE #CE4497
split-complementary
#CEC044 #4497CE #7B44CE
monochromatic
#786F1F #A99C2C #CEC044 #DBD074 #E7E1A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC044#FFFFFF#000000##000000
##CEC0441.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)
#D1BA33
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#DDB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec044;
/* rgb */ color: rgb(206, 192, 68);
/* oklch */ color: oklch(79.7% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e0d27e',
    500: '#cec044',
    950: '#000000',
  },
}
SCSS
$custom: #cec044;
$custom-light: #e0d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec044",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 68
  },
  "hsl": {
    "h": 53.913,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79699,
    "c": 0.14204,
    "h": 102.8
  },
  "luminance": 0.51238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC044

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

Preview Lab → · Contrast checker → · Palette generator →

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