#CEC244#CEC244

#CEC244 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.144 H 103.8°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CEC244
RGBrgb(206, 194, 68)
HSLhsl(55, 58%, 54%)
HSVhsv(55, 67%, 81%)
CMYKcmyk(0%, 5.8%, 67%, 19.2%)
CIE-LABlab(77.36, -10.43, 62.18)
CIE-LCHlch(77.36, 63.05, 99.52°)
OKLaboklab(80.12% -0.0344 0.1397)
OKLCHoklch(80.12% 0.144 103.8)
XYZxyz(45.7906, 52.1245, 13.1167)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC244 #4450CE
analogous
#CE7D44 #CEC244 #95CE44
triadic
#CEC244 #44CEC2 #C244CE
tetradic
#CEC244 #44CE7D #4450CE #CE4495
square
#CEC244 #44CE7D #4450CE #CE4495
split-complementary
#CEC244 #4495CE #7D44CE
monochromatic
#78701F #A99E2C #CEC244 #DBD274 #E7E2A5

Accessibility & contrast

On white

1.84
#CEC244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CEC244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC244
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC244#FFFFFF#000000##000000
##CEC2441.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC32
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#DDB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec244;
/* rgb */ color: rgb(206, 194, 68);
/* oklch */ color: oklch(80.1% 0.144 103.8);
Tailwind
colors: {
  custom: {
    50: '#e0d47f',
    500: '#cec244',
    950: '#000000',
  },
}
SCSS
$custom: #cec244;
$custom-light: #e0d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec244",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 68
  },
  "hsl": {
    "h": 54.783,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80121,
    "c": 0.14383,
    "h": 103.8
  },
  "luminance": 0.52123
}

Semantic roles & 50–950 ramp

primary
#CEC244
secondary
#363C80
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC244

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

Preview Lab → · Contrast checker → · Palette generator →

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