#CEC792#CEC792

#CEC792 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.070 H 101.5°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CEC792
RGBrgb(206, 199, 146)
HSLhsl(53, 38%, 69%)
HSVhsv(53, 29%, 81%)
CMYKcmyk(0%, 3.4%, 29.1%, 19.2%)
CIE-LABlab(79.64, -5.76, 27.48)
CIE-LCHlch(79.64, 28.08, 101.85°)
OKLaboklab(82.25% -0.014 0.069)
OKLCHoklch(82.25% 0.07 101.5)
XYZxyz(51.0656, 56.0450, 35.3163)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC792 #9299CE
analogous
#CEA992 #CEC792 #B7CE92
triadic
#CEC792 #92CEC7 #C792CE
tetradic
#CEC792 #92CEA9 #9299CE #CE92B7
square
#CEC792 #92CEA9 #9299CE #CE92B7
split-complementary
#CEC792 #92B7CE #A992CE
monochromatic
#9E9447 #BBB168 #CEC792 #E1DDBC #F4F2E6

Accessibility & contrast

On white

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

On black

12.21
#CEC792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC792
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC792#FFFFFF#000000##000000
##CEC7921.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C38E
Deuteranopia (green-blind)
#D3C794
Tritanopia (blue-blind)
#D7C0B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec792;
/* rgb */ color: rgb(206, 199, 146);
/* oklch */ color: oklch(82.2% 0.070 101.5);
Tailwind
colors: {
  custom: {
    50: '#ddd7b2',
    500: '#cec792',
    950: '#000000',
  },
}
SCSS
$custom: #cec792;
$custom-light: #ddd7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cec792",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 146
  },
  "hsl": {
    "h": 53,
    "s": 37.975,
    "l": 69.02
  },
  "oklch": {
    "l": 0.82246,
    "c": 0.07037,
    "h": 101.5
  },
  "luminance": 0.56044
}

Semantic roles & 50–950 ramp

primary
#CEC792
secondary
#6169A3
accent
#43B135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CEC792

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

Preview Lab → · Contrast checker → · Palette generator →

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