#CECB74#CECB74

#CECB74 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.110 H 106.8°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CECB74
RGBrgb(206, 203, 116)
HSLhsl(58, 48%, 63%)
HSVhsv(58, 44%, 81%)
CMYKcmyk(0%, 1.5%, 43.7%, 19.2%)
CIE-LABlab(80.23, -11.27, 43.60)
CIE-LCHlch(80.23, 45.03, 104.49°)
OKLaboklab(82.57% -0.0318 0.105)
OKLCHoklch(82.57% 0.11 106.8)
XYZxyz(49.9629, 57.0958, 24.9083)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB74 #7477CE
analogous
#CE9E74 #CECB74 #A4CE74
triadic
#CECB74 #74CECB #CB74CE
tetradic
#CECB74 #74CE9E #7477CE #CE74A4
square
#CECB74 #74CE9E #7477CE #CE74A4
split-complementary
#CECB74 #74A4CE #9E74CE
monochromatic
#949034 #BEBA47 #CECB74 #DEDCA1 #EEEDCE

Accessibility & contrast

On white

1.69
#CECB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CECB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB74
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB74#FFFFFF#000000##000000
##CECB741.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#DAC978
Tritanopia (blue-blind)
#DAC1B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecb74;
/* rgb */ color: rgb(206, 203, 116);
/* oklch */ color: oklch(82.6% 0.110 106.8);
Tailwind
colors: {
  custom: {
    50: '#deda9d',
    500: '#cecb74',
    950: '#000000',
  },
}
SCSS
$custom: #cecb74;
$custom-light: #deda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb74",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 116
  },
  "hsl": {
    "h": 58,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82567,
    "c": 0.10965,
    "h": 106.8
  },
  "luminance": 0.57095
}

Semantic roles & 50–950 ramp

primary
#CECB74
secondary
#4D4F9A
accent
#2FBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CECB74

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

Preview Lab → · Contrast checker → · Palette generator →

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