#CEC168#CEC168

#CEC168 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.112 H 101.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CEC168
RGBrgb(206, 193, 104)
HSLhsl(52, 51%, 61%)
HSVhsv(52, 50%, 81%)
CMYKcmyk(0%, 6.3%, 49.5%, 19.2%)
CIE-LABlab(77.44, -7.29, 46.09)
CIE-LCHlch(77.44, 46.66, 98.99°)
OKLaboklab(80.3% -0.0215 0.1096)
OKLCHoklch(80.3% 0.112 101.1)
XYZxyz(47.0236, 52.2628, 20.7047)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC168 #6875CE
analogous
#CE8E68 #CEC168 #A8CE68
triadic
#CEC168 #68CEC1 #C168CE
tetradic
#CEC168 #68CE8E #6875CE #CE68A8
square
#CEC168 #68CE8E #6875CE #CE68A8
split-complementary
#CEC168 #68A8CE #8E68CE
monochromatic
#8E812E #BCAC3D #CEC168 #DDD496 #ECE7C4

Accessibility & contrast

On white

1.83
#CEC168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CEC168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC168
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC168#FFFFFF#000000##000000
##CEC1681.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#D3C26C
Tritanopia (blue-blind)
#DBB6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec168;
/* rgb */ color: rgb(206, 193, 104);
/* oklch */ color: oklch(80.3% 0.112 101.1);
Tailwind
colors: {
  custom: {
    50: '#dfd395',
    500: '#cec168',
    950: '#000000',
  },
}
SCSS
$custom: #cec168;
$custom-light: #dfd395;
$custom-dark: #000000;
JSON
{
  "hex": "#cec168",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 104
  },
  "hsl": {
    "h": 52.353,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80298,
    "c": 0.11167,
    "h": 101.1
  },
  "luminance": 0.52261
}

Semantic roles & 50–950 ramp

primary
#CEC168
secondary
#465094
accent
#3ABE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC168

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

Preview Lab → · Contrast checker → · Palette generator →

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