#CEC44F#CEC44F

#CEC44F is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.137 H 104.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CEC44F
RGBrgb(206, 196, 79)
HSLhsl(55, 56%, 56%)
HSVhsv(55, 62%, 81%)
CMYKcmyk(0%, 4.9%, 61.7%, 19.2%)
CIE-LABlab(77.97, -10.78, 58.27)
CIE-LCHlch(77.97, 59.26, 100.48°)
OKLaboklab(80.64% -0.0342 0.133)
OKLCHoklch(80.64% 0.137 104.4)
XYZxyz(46.6065, 53.1678, 15.2030)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC44F #4F59CE
analogous
#CE844F #CEC44F #98CE4F
triadic
#CEC44F #4FCEC4 #C44FCE
tetradic
#CEC44F #4FCE84 #4F59CE #CE4F98
square
#CEC44F #4FCE84 #4F59CE #CE4F98
split-complementary
#CEC44F #4F98CE #844FCE
monochromatic
#7F7823 #AFA531 #CEC44F #DBD47F #E9E4AF

Accessibility & contrast

On white

1.81
#CEC44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CEC44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC44F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC44F#FFFFFF#000000##000000
##CEC44F1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE41
Deuteranopia (green-blind)
#D8C356
Tritanopia (blue-blind)
#DCB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec44f;
/* rgb */ color: rgb(206, 196, 79);
/* oklch */ color: oklch(80.6% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e0d585',
    500: '#cec44f',
    950: '#000000',
  },
}
SCSS
$custom: #cec44f;
$custom-light: #e0d585;
$custom-dark: #000000;
JSON
{
  "hex": "#cec44f",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 55.276,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80641,
    "c": 0.13737,
    "h": 104.4
  },
  "luminance": 0.53166
}

Semantic roles & 50–950 ramp

primary
#CEC44F
secondary
#3A4087
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC44F

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

Preview Lab → · Contrast checker → · Palette generator →

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