#CEC079#CEC079

#CEC079 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.093 H 98.4°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CEC079
RGBrgb(206, 192, 121)
HSLhsl(50, 46%, 64%)
HSVhsv(50, 41%, 81%)
CMYKcmyk(0%, 6.8%, 41.3%, 19.2%)
CIE-LABlab(77.40, -5.10, 37.52)
CIE-LCHlch(77.40, 37.87, 97.74°)
OKLaboklab(80.34% -0.0136 0.0915)
OKLCHoklch(80.34% 0.093 98.4)
XYZxyz(47.7555, 52.2031, 25.6461)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC079 #7987CE
analogous
#CE9679 #CEC079 #B2CE79
triadic
#CEC079 #79CEC0 #C079CE
tetradic
#CEC079 #79CE96 #7987CE #CE79B2
square
#CEC079 #79CE96 #7987CE #CE79B2
split-complementary
#CEC079 #79B2CE #9679CE
monochromatic
#968637 #BEAB4C #CEC079 #DED5A6 #EFEAD3

Accessibility & contrast

On white

1.84
#CEC079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CEC079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC079
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC079#FFFFFF#000000##000000
##CEC0791.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC74
Deuteranopia (green-blind)
#D1C27C
Tritanopia (blue-blind)
#DAB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec079;
/* rgb */ color: rgb(206, 192, 121);
/* oklch */ color: oklch(80.3% 0.093 98.4);
Tailwind
colors: {
  custom: {
    50: '#ded2a0',
    500: '#cec079',
    950: '#000000',
  },
}
SCSS
$custom: #cec079;
$custom-light: #ded2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cec079",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 121
  },
  "hsl": {
    "h": 50.118,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80344,
    "c": 0.09253,
    "h": 98.4
  },
  "luminance": 0.52202
}

Semantic roles & 50–950 ramp

primary
#CEC079
secondary
#4F5C9C
accent
#43BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC079

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

Preview Lab → · Contrast checker → · Palette generator →

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