#CEC679#CEC679

#CEC679 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.099 H 103.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CEC679
RGBrgb(206, 198, 121)
HSLhsl(54, 46%, 64%)
HSVhsv(54, 41%, 81%)
CMYKcmyk(0%, 3.9%, 41.3%, 19.2%)
CIE-LABlab(78.98, -8.20, 39.53)
CIE-LCHlch(78.98, 40.37, 101.72°)
OKLaboklab(81.59% -0.0225 0.0961)
OKLCHoklch(81.59% 0.099 103.2)
XYZxyz(49.0998, 54.8918, 26.0942)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC679 #7981CE
analogous
#CE9C79 #CEC679 #ACCE79
triadic
#CEC679 #79CEC6 #C679CE
tetradic
#CEC679 #79CE9C #7981CE #CE79AC
square
#CEC679 #79CE9C #7981CE #CE79AC
split-complementary
#CEC679 #79ACCE #9C79CE
monochromatic
#968D37 #BEB34C #CEC679 #DED9A6 #EFECD3

Accessibility & contrast

On white

1.75
#CEC679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CEC679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC679
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC679#FFFFFF#000000##000000
##CEC6791.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C173
Deuteranopia (green-blind)
#D6C67C
Tritanopia (blue-blind)
#D9BCB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec679;
/* rgb */ color: rgb(206, 198, 121);
/* oklch */ color: oklch(81.6% 0.099 103.2);
Tailwind
colors: {
  custom: {
    50: '#ded7a1',
    500: '#cec679',
    950: '#000000',
  },
}
SCSS
$custom: #cec679;
$custom-light: #ded7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cec679",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 54.353,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81593,
    "c": 0.09868,
    "h": 103.2
  },
  "luminance": 0.5489
}

Semantic roles & 50–950 ramp

primary
#CEC679
secondary
#4F579C
accent
#39BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC679

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

Preview Lab → · Contrast checker → · Palette generator →

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