#CEC44D#CEC44D

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

Color values

HEX#CEC44D
RGBrgb(206, 196, 77)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 63%, 81%)
CMYKcmyk(0%, 4.9%, 62.6%, 19.2%)
CIE-LABlab(77.96, -10.91, 59.10)
CIE-LCHlch(77.96, 60.10, 100.46°)
OKLaboklab(80.62% -0.0348 0.1345)
OKLCHoklch(80.62% 0.139 104.5)
XYZxyz(46.5348, 53.1392, 14.8254)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC44D #4D57CE
analogous
#CE834D #CEC44D #97CE4D
triadic
#CEC44D #4DCEC4 #C44DCE
tetradic
#CEC44D #4DCE83 #4D57CE #CE4D97
square
#CEC44D #4DCE83 #4D57CE #CE4D97
split-complementary
#CEC44D #4D97CE #834DCE
monochromatic
#7E7723 #AEA430 #CEC44D #DBD47D #E8E4AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC44D#FFFFFF#000000##000000
##CEC44D1.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)
#D4BE3F
Deuteranopia (green-blind)
#D8C354
Tritanopia (blue-blind)
#DCB7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec44d;
/* rgb */ color: rgb(206, 196, 77);
/* oklch */ color: oklch(80.6% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#e0d584',
    500: '#cec44d',
    950: '#000000',
  },
}
SCSS
$custom: #cec44d;
$custom-light: #e0d584;
$custom-dark: #000000;
JSON
{
  "hex": "#cec44d",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 77
  },
  "hsl": {
    "h": 55.349,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80622,
    "c": 0.13896,
    "h": 104.5
  },
  "luminance": 0.53137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC44D

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

Preview Lab → · Contrast checker → · Palette generator →

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