#CEC266#CEC266

#CEC266 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.115 H 101.9°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CEC266
RGBrgb(206, 194, 102)
HSLhsl(53, 51%, 60%)
HSVhsv(53, 50%, 81%)
CMYKcmyk(0%, 5.8%, 50.5%, 19.2%)
CIE-LABlab(77.68, -7.99, 47.35)
CIE-LCHlch(77.68, 48.02, 99.58°)
OKLaboklab(80.48% -0.0237 0.1122)
OKLCHoklch(80.48% 0.115 101.9)
XYZxyz(47.1450, 52.6663, 20.2500)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC266 #6672CE
analogous
#CE8E66 #CEC266 #A6CE66
triadic
#CEC266 #66CEC2 #C266CE
tetradic
#CEC266 #66CE8E #6672CE #CE66A6
square
#CEC266 #66CE8E #6672CE #CE66A6
split-complementary
#CEC266 #66A6CE #8E66CE
monochromatic
#8D822D #BBAC3C #CEC266 #DDD494 #ECE7C3

Accessibility & contrast

On white

1.82
#CEC266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CEC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC266
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC266#FFFFFF#000000##000000
##CEC2661.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D4C26A
Tritanopia (blue-blind)
#DBB7AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec266;
/* rgb */ color: rgb(206, 194, 102);
/* oklch */ color: oklch(80.5% 0.115 101.9);
Tailwind
colors: {
  custom: {
    50: '#dfd494',
    500: '#cec266',
    950: '#000000',
  },
}
SCSS
$custom: #cec266;
$custom-light: #dfd494;
$custom-dark: #000000;
JSON
{
  "hex": "#cec266",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 53.077,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80481,
    "c": 0.11466,
    "h": 101.9
  },
  "luminance": 0.52665
}

Semantic roles & 50–950 ramp

primary
#CEC266
secondary
#454E93
accent
#38BF27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC266

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

Preview Lab → · Contrast checker → · Palette generator →

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