#CEC868#CEC868

#CEC868 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.119 H 105.5°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CEC868
RGBrgb(206, 200, 104)
HSLhsl(56, 51%, 61%)
HSVhsv(56, 50%, 81%)
CMYKcmyk(0%, 2.9%, 49.5%, 19.2%)
CIE-LABlab(79.29, -10.88, 48.31)
CIE-LCHlch(79.29, 49.52, 102.69°)
OKLaboklab(81.77% -0.0318 0.1145)
OKLCHoklch(81.77% 0.119 105.5)
XYZxyz(48.6078, 55.4312, 21.2328)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC868 #686ECE
analogous
#CE9568 #CEC868 #A1CE68
triadic
#CEC868 #68CEC8 #C868CE
tetradic
#CEC868 #68CE95 #686ECE #CE68A1
square
#CEC868 #68CE95 #686ECE #CE68A1
split-complementary
#CEC868 #68A1CE #9568CE
monochromatic
#8E882E #BCB43D #CEC868 #DDD996 #ECEAC4

Accessibility & contrast

On white

1.74
#CEC868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CEC868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC868
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC868#FFFFFF#000000##000000
##CEC8681.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25F
Deuteranopia (green-blind)
#D9C66D
Tritanopia (blue-blind)
#DBBDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec868;
/* rgb */ color: rgb(206, 200, 104);
/* oklch */ color: oklch(81.8% 0.119 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd895',
    500: '#cec868',
    950: '#000000',
  },
}
SCSS
$custom: #cec868;
$custom-light: #dfd895;
$custom-dark: #000000;
JSON
{
  "hex": "#cec868",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 56.471,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81768,
    "c": 0.1188,
    "h": 105.5
  },
  "luminance": 0.5543
}

Semantic roles & 50–950 ramp

primary
#CEC868
secondary
#464B94
accent
#30BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC868

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

Preview Lab → · Contrast checker → · Palette generator →

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