#CEC070#CEC070

#CEC070 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.102 H 99.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CEC070
RGBrgb(206, 192, 112)
HSLhsl(51, 49%, 62%)
HSVhsv(51, 46%, 81%)
CMYKcmyk(0%, 6.8%, 45.6%, 19.2%)
CIE-LABlab(77.28, -6.02, 41.93)
CIE-LCHlch(77.28, 42.36, 98.18°)
OKLaboklab(80.2% -0.017 0.101)
OKLCHoklch(80.2% 0.102 99.6)
XYZxyz(47.2291, 51.9925, 22.8738)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC070 #707ECE
analogous
#CE9170 #CEC070 #ADCE70
triadic
#CEC070 #70CEC0 #C070CE
tetradic
#CEC070 #70CE91 #707ECE #CE70AD
square
#CEC070 #70CE91 #707ECE #CE70AD
split-complementary
#CEC070 #70ADCE #9170CE
monochromatic
#928332 #BEAC42 #CEC070 #DED49E #EDE8CB

Accessibility & contrast

On white

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

On black

11.40
#CEC070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC070
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC070#FFFFFF#000000##000000
##CEC0701.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6A
Deuteranopia (green-blind)
#D2C173
Tritanopia (blue-blind)
#DBB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec070;
/* rgb */ color: rgb(206, 192, 112);
/* oklch */ color: oklch(80.2% 0.102 99.6);
Tailwind
colors: {
  custom: {
    50: '#dfd29a',
    500: '#cec070',
    950: '#000000',
  },
}
SCSS
$custom: #cec070;
$custom-light: #dfd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec070",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 112
  },
  "hsl": {
    "h": 51.064,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80203,
    "c": 0.10238,
    "h": 99.6
  },
  "luminance": 0.51991
}

Semantic roles & 50–950 ramp

primary
#CEC070
secondary
#4A5698
accent
#3FBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC070

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

Preview Lab → · Contrast checker → · Palette generator →

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