#CEC968#CEC968

#CEC968 is a light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.120 H 106.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CEC968
RGBrgb(206, 201, 104)
HSLhsl(57, 51%, 61%)
HSVhsv(57, 50%, 81%)
CMYKcmyk(0%, 2.4%, 49.5%, 19.2%)
CIE-LABlab(79.55, -11.39, 48.63)
CIE-LCHlch(79.55, 49.95, 103.18°)
OKLaboklab(81.98% -0.0333 0.1152)
OKLCHoklch(81.98% 0.12 106.1)
XYZxyz(48.8402, 55.8959, 21.3103)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC968 #686DCE
analogous
#CE9668 #CEC968 #A0CE68
triadic
#CEC968 #68CEC9 #C968CE
tetradic
#CEC968 #68CE96 #686DCE #CE68A0
square
#CEC968 #68CE96 #686DCE #CE68A0
split-complementary
#CEC968 #68A0CE #9668CE
monochromatic
#8E892E #BCB63D #CEC968 #DDDA96 #ECEAC4

Accessibility & contrast

On white

1.72
#CEC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CEC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC968
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC968#FFFFFF#000000##000000
##CEC9681.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35F
Deuteranopia (green-blind)
#DAC76D
Tritanopia (blue-blind)
#DBBEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec968;
/* rgb */ color: rgb(206, 201, 104);
/* oklch */ color: oklch(82.0% 0.120 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd995',
    500: '#cec968',
    950: '#000000',
  },
}
SCSS
$custom: #cec968;
$custom-light: #dfd995;
$custom-dark: #000000;
JSON
{
  "hex": "#cec968",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 57.059,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81979,
    "c": 0.11986,
    "h": 106.1
  },
  "luminance": 0.55895
}

Semantic roles & 50–950 ramp

primary
#CEC968
secondary
#464A94
accent
#2FBE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC968

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

Preview Lab → · Contrast checker → · Palette generator →

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