#CEC574#CEC574

#CEC574 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.103 H 102.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CEC574
RGBrgb(206, 197, 116)
HSLhsl(54, 48%, 63%)
HSVhsv(54, 44%, 81%)
CMYKcmyk(0%, 4.4%, 43.7%, 19.2%)
CIE-LABlab(78.65, -8.21, 41.63)
CIE-LCHlch(78.65, 42.43, 101.15°)
OKLaboklab(81.31% -0.023 0.1005)
OKLCHoklch(81.31% 0.103 102.9)
XYZxyz(48.5733, 54.3167, 24.4451)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC574 #747DCE
analogous
#CE9874 #CEC574 #AACE74
triadic
#CEC574 #74CEC5 #C574CE
tetradic
#CEC574 #74CE98 #747DCE #CE74AA
square
#CEC574 #74CE98 #747DCE #CE74AA
split-complementary
#CEC574 #74AACE #9874CE
monochromatic
#948A34 #BEB247 #CEC574 #DED8A1 #EEEBCE

Accessibility & contrast

On white

1.77
#CEC574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CEC574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC574
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC574#FFFFFF#000000##000000
##CEC5741.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06E
Deuteranopia (green-blind)
#D5C577
Tritanopia (blue-blind)
#DABBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec574;
/* rgb */ color: rgb(206, 197, 116);
/* oklch */ color: oklch(81.3% 0.103 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded69d',
    500: '#cec574',
    950: '#000000',
  },
}
SCSS
$custom: #cec574;
$custom-light: #ded69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec574",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 116
  },
  "hsl": {
    "h": 54,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81306,
    "c": 0.10312,
    "h": 102.9
  },
  "luminance": 0.54315
}

Semantic roles & 50–950 ramp

primary
#CEC574
secondary
#4D549A
accent
#39BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC574

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

Preview Lab → · Contrast checker → · Palette generator →

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