#CEC66A#CEC66A

#CEC66A is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.115 H 104.2°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CEC66A
RGBrgb(206, 198, 106)
HSLhsl(55, 51%, 61%)
HSVhsv(55, 49%, 81%)
CMYKcmyk(0%, 3.9%, 48.5%, 19.2%)
CIE-LABlab(78.78, -9.68, 46.74)
CIE-LCHlch(78.78, 47.73, 101.70°)
OKLaboklab(81.37% -0.0282 0.1112)
OKLCHoklch(81.37% 0.115 104.2)
XYZxyz(48.2504, 54.5520, 21.6208)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC66A #6A72CE
analogous
#CE946A #CEC66A #A4CE6A
triadic
#CEC66A #6ACEC6 #C66ACE
tetradic
#CEC66A #6ACE94 #6A72CE #CE6AA4
square
#CEC66A #6ACE94 #6A72CE #CE6AA4
split-complementary
#CEC66A #6AA4CE #946ACE
monochromatic
#8F872F #BDB33E #CEC66A #DDD898 #ECE9C6

Accessibility & contrast

On white

1.76
#CEC66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CEC66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC66A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC66A#FFFFFF#000000##000000
##CEC66A1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C062
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#DBBBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec66a;
/* rgb */ color: rgb(206, 198, 106);
/* oklch */ color: oklch(81.4% 0.115 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd797',
    500: '#cec66a',
    950: '#000000',
  },
}
SCSS
$custom: #cec66a;
$custom-light: #dfd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cec66a",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 55.2,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81373,
    "c": 0.11468,
    "h": 104.2
  },
  "luminance": 0.54551
}

Semantic roles & 50–950 ramp

primary
#CEC66A
secondary
#474D95
accent
#34BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC66A

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

Preview Lab → · Contrast checker → · Palette generator →

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