#CEC28D#CEC28D

#CEC28D is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.071 H 96.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CEC28D
RGBrgb(206, 194, 141)
HSLhsl(49, 40%, 68%)
HSVhsv(49, 32%, 81%)
CMYKcmyk(0%, 5.8%, 31.6%, 19.2%)
CIE-LABlab(78.25, -3.81, 28.24)
CIE-LCHlch(78.25, 28.49, 97.68°)
OKLaboklab(81.12% -0.0085 0.0707)
OKLCHoklch(81.12% 0.071 96.9)
XYZxyz(49.5536, 53.6297, 32.9353)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC28D #8D99CE
analogous
#CEA18D #CEC28D #B9CE8D
triadic
#CEC28D #8DCEC2 #C28DCE
tetradic
#CEC28D #8DCEA1 #8D99CE #CE8DB9
square
#CEC28D #8DCEA1 #8D99CE #CE8DB9
split-complementary
#CEC28D #8DB9CE #A18DCE
monochromatic
#9D8D44 #BCAB62 #CEC28D #E0D9B8 #F3F0E3

Accessibility & contrast

On white

1.79
#CEC28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CEC28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC28D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC28D#FFFFFF#000000##000000
##CEC28D1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBF89
Deuteranopia (green-blind)
#D0C38F
Tritanopia (blue-blind)
#D8BAB4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec28d;
/* rgb */ color: rgb(206, 194, 141);
/* oklch */ color: oklch(81.1% 0.071 96.9);
Tailwind
colors: {
  custom: {
    50: '#ded4ae',
    500: '#cec28d',
    950: '#000000',
  },
}
SCSS
$custom: #cec28d;
$custom-light: #ded4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cec28d",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 141
  },
  "hsl": {
    "h": 48.923,
    "s": 39.877,
    "l": 68.039
  },
  "oklch": {
    "l": 0.81115,
    "c": 0.07117,
    "h": 96.9
  },
  "luminance": 0.53628
}

Semantic roles & 50–950 ramp

primary
#CEC28D
secondary
#5C69A3
accent
#4AB333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC28D

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

Preview Lab → · Contrast checker → · Palette generator →

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