#CEC46A#CEC46A

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

Color values

HEX#CEC46A
RGBrgb(206, 196, 106)
HSLhsl(54, 51%, 61%)
HSVhsv(54, 49%, 81%)
CMYKcmyk(0%, 4.9%, 48.5%, 19.2%)
CIE-LABlab(78.25, -8.66, 46.10)
CIE-LCHlch(78.25, 46.90, 100.64°)
OKLaboklab(80.95% -0.0252 0.1098)
OKLCHoklch(80.95% 0.113 102.9)
XYZxyz(47.7963, 53.6438, 21.4694)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC46A #6A74CE
analogous
#CE926A #CEC46A #A6CE6A
triadic
#CEC46A #6ACEC4 #C46ACE
tetradic
#CEC46A #6ACE92 #6A74CE #CE6AA6
square
#CEC46A #6ACE92 #6A74CE #CE6AA6
split-complementary
#CEC46A #6AA6CE #926ACE
monochromatic
#8F852F #BDB03E #CEC46A #DDD698 #ECE8C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC46A#FFFFFF#000000##000000
##CEC46A1.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)
#D2BF62
Deuteranopia (green-blind)
#D6C46E
Tritanopia (blue-blind)
#DBB9AF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec46a;
/* rgb */ color: rgb(206, 196, 106);
/* oklch */ color: oklch(81.0% 0.113 102.9);
Tailwind
colors: {
  custom: {
    50: '#dfd596',
    500: '#cec46a',
    950: '#000000',
  },
}
SCSS
$custom: #cec46a;
$custom-light: #dfd596;
$custom-dark: #000000;
JSON
{
  "hex": "#cec46a",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 106
  },
  "hsl": {
    "h": 54,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80953,
    "c": 0.11262,
    "h": 102.9
  },
  "luminance": 0.53642
}

Semantic roles & 50–950 ramp

primary
#CEC46A
secondary
#474F95
accent
#37BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC46A

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

Preview Lab → · Contrast checker → · Palette generator →

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