#CEC670#CEC670

#CEC670 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.108 H 103.8°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CEC670
RGBrgb(206, 198, 112)
HSLhsl(55, 49%, 62%)
HSVhsv(55, 46%, 81%)
CMYKcmyk(0%, 3.9%, 45.6%, 19.2%)
CIE-LABlab(78.86, -9.12, 43.88)
CIE-LCHlch(78.86, 44.82, 101.74°)
OKLaboklab(81.46% -0.0259 0.1053)
OKLCHoklch(81.46% 0.108 103.8)
XYZxyz(48.5734, 54.6812, 23.3219)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC670 #7078CE
analogous
#CE9770 #CEC670 #A7CE70
triadic
#CEC670 #70CEC6 #C670CE
tetradic
#CEC670 #70CE97 #7078CE #CE70A7
square
#CEC670 #70CE97 #7078CE #CE70A7
split-complementary
#CEC670 #70A7CE #9770CE
monochromatic
#928A32 #BEB442 #CEC670 #DED89E #EDEACB

Accessibility & contrast

On white

1.76
#CEC670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CEC670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC670
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC670#FFFFFF#000000##000000
##CEC6701.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D6C574
Tritanopia (blue-blind)
#DABCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec670;
/* rgb */ color: rgb(206, 198, 112);
/* oklch */ color: oklch(81.5% 0.108 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd79b',
    500: '#cec670',
    950: '#000000',
  },
}
SCSS
$custom: #cec670;
$custom-light: #dfd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec670",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 54.894,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81457,
    "c": 0.10846,
    "h": 103.8
  },
  "luminance": 0.5468
}

Semantic roles & 50–950 ramp

primary
#CEC670
secondary
#4A5198
accent
#36BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC670

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

Preview Lab → · Contrast checker → · Palette generator →

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