#CEC46D#CEC46D

#CEC46D is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.110 H 102.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CEC46D
RGBrgb(206, 196, 109)
HSLhsl(54, 50%, 62%)
HSVhsv(54, 47%, 81%)
CMYKcmyk(0%, 4.9%, 47.1%, 19.2%)
CIE-LABlab(78.29, -8.38, 44.67)
CIE-LCHlch(78.29, 45.45, 100.62°)
OKLaboklab(80.99% -0.0241 0.1068)
OKLCHoklch(80.99% 0.11 102.7)
XYZxyz(47.9550, 53.7073, 22.3055)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC46D #6D77CE
analogous
#CE946D #CEC46D #A8CE6D
triadic
#CEC46D #6DCEC4 #C46DCE
tetradic
#CEC46D #6DCE94 #6D77CE #CE6DA8
square
#CEC46D #6DCE94 #6D77CE #CE6DA8
split-complementary
#CEC46D #6DA8CE #946DCE
monochromatic
#908630 #BEB140 #CEC46D #DDD79B #EDE9C9

Accessibility & contrast

On white

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

On black

11.74
#CEC46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC46D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC46D#FFFFFF#000000##000000
##CEC46D1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF66
Deuteranopia (green-blind)
#D5C471
Tritanopia (blue-blind)
#DBB9AF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec46d;
/* rgb */ color: rgb(206, 196, 109);
/* oklch */ color: oklch(81.0% 0.110 102.7);
Tailwind
colors: {
  custom: {
    50: '#dfd598',
    500: '#cec46d',
    950: '#000000',
  },
}
SCSS
$custom: #cec46d;
$custom-light: #dfd598;
$custom-dark: #000000;
JSON
{
  "hex": "#cec46d",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 109
  },
  "hsl": {
    "h": 53.814,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80995,
    "c": 0.10953,
    "h": 102.7
  },
  "luminance": 0.53706
}

Semantic roles & 50–950 ramp

primary
#CEC46D
secondary
#495196
accent
#38BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC46D

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

Preview Lab → · Contrast checker → · Palette generator →

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