#CEC448#CEC448

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

Color values

HEX#CEC448
RGBrgb(206, 196, 72)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 65%, 81%)
CMYKcmyk(0%, 4.9%, 65%, 19.2%)
CIE-LABlab(77.92, -11.22, 61.15)
CIE-LCHlch(77.92, 62.17, 100.39°)
OKLaboklab(80.58% -0.0362 0.1381)
OKLCHoklch(80.58% 0.143 104.7)
XYZxyz(46.3650, 53.0712, 13.9311)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC448 #4852CE
analogous
#CE8148 #CEC448 #95CE48
triadic
#CEC448 #48CEC4 #C448CE
tetradic
#CEC448 #48CE81 #4852CE #CE4895
square
#CEC448 #48CE81 #4852CE #CE4895
split-complementary
#CEC448 #4895CE #8148CE
monochromatic
#7B7421 #ABA22E #CEC448 #DBD478 #E8E3A9

Accessibility & contrast

On white

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

On black

11.61
#CEC448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC448
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC448#FFFFFF#000000##000000
##CEC4481.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#DDB7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec448;
/* rgb */ color: rgb(206, 196, 72);
/* oklch */ color: oklch(80.6% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d581',
    500: '#cec448',
    950: '#000000',
  },
}
SCSS
$custom: #cec448;
$custom-light: #e0d581;
$custom-dark: #000000;
JSON
{
  "hex": "#cec448",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 55.522,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80577,
    "c": 0.14278,
    "h": 104.7
  },
  "luminance": 0.5307
}

Semantic roles & 50–950 ramp

primary
#CEC448
secondary
#373D83
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC448

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

Preview Lab → · Contrast checker → · Palette generator →

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