#CEC770#CEC770

#CEC770 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.110 H 104.5°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CEC770
RGBrgb(206, 199, 112)
HSLhsl(56, 49%, 62%)
HSVhsv(56, 46%, 81%)
CMYKcmyk(0%, 3.4%, 45.6%, 19.2%)
CIE-LABlab(79.12, -9.63, 44.21)
CIE-LCHlch(79.12, 45.24, 102.29°)
OKLaboklab(81.67% -0.0274 0.106)
OKLCHoklch(81.67% 0.11 104.5)
XYZxyz(48.8028, 55.1399, 23.3984)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC770 #7077CE
analogous
#CE9870 #CEC770 #A6CE70
triadic
#CEC770 #70CEC7 #C770CE
tetradic
#CEC770 #70CE98 #7077CE #CE70A6
square
#CEC770 #70CE98 #7077CE #CE70A6
split-complementary
#CEC770 #70A6CE #9870CE
monochromatic
#928B32 #BEB542 #CEC770 #DED99E #EDEBCB

Accessibility & contrast

On white

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

On black

12.03
#CEC770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC770
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC770#FFFFFF#000000##000000
##CEC7701.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C169
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#DABDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec770;
/* rgb */ color: rgb(206, 199, 112);
/* oklch */ color: oklch(81.7% 0.110 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd79b',
    500: '#cec770',
    950: '#000000',
  },
}
SCSS
$custom: #cec770;
$custom-light: #dfd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec770",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 55.532,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81667,
    "c": 0.10952,
    "h": 104.5
  },
  "luminance": 0.55139
}

Semantic roles & 50–950 ramp

primary
#CEC770
secondary
#4A5098
accent
#34BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC770

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

Preview Lab → · Contrast checker → · Palette generator →

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